	format	MS COFF
	extrn	___bb_appstub_appstub
	extrn	___bb_audio_audio
	extrn	___bb_blitz_blitz
	extrn	___bb_d3d7max2d_d3d7max2d
	extrn	___bb_d3d9max2d_d3d9max2d
	extrn	___bb_data_data
	extrn	___bb_directsoundaudio_directsoundaudio
	extrn	___bb_drivers_drivers
	extrn	___bb_eventqueue_eventqueue
	extrn	___bb_freeaudioaudio_freeaudioaudio
	extrn	___bb_freejoy_freejoy
	extrn	___bb_freeprocess_freeprocess
	extrn	___bb_freetypefont_freetypefont
	extrn	___bb_gnet_gnet
	extrn	___bb_macos_macos
	extrn	___bb_maxlua_maxlua
	extrn	___bb_maxml_maxml
	extrn	___bb_maxutil_maxutil
	extrn	___bb_minib3d_minib3d
	extrn	___bb_oggloader_oggloader
	extrn	___bb_openalaudio_openalaudio
	extrn	___bb_tgaloader_tgaloader
	extrn	___bb_threads_threads
	extrn	___bb_timer_timer
	extrn	___bb_wavloader_wavloader
	extrn	__sidesign_minib3d_TGlobal_depth
	extrn	__sidesign_minib3d_TGlobal_height
	extrn	__sidesign_minib3d_TGlobal_mode
	extrn	__sidesign_minib3d_TGlobal_rate
	extrn	__sidesign_minib3d_TGlobal_width
	extrn	_bbArrayNew1D
	extrn	_bbEmptyArray
	extrn	_bbEmptyString
	extrn	_bbEnd
	extrn	_bbFloatToInt
	extrn	_bbGCFree
	extrn	_bbMilliSecs
	extrn	_bbNullObject
	extrn	_bbObjectClass
	extrn	_bbObjectCompare
	extrn	_bbObjectCtor
	extrn	_bbObjectDowncast
	extrn	_bbObjectFree
	extrn	_bbObjectNew
	extrn	_bbObjectRegisterType
	extrn	_bbObjectReserved
	extrn	_bbObjectSendMessage
	extrn	_bbObjectToString
	extrn	_bbOnDebugEnterScope
	extrn	_bbOnDebugEnterStm
	extrn	_bbOnDebugLeaveScope
	extrn	_bbSin
	extrn	_bbStringClass
	extrn	_bbStringCompare
	extrn	_bbStringConcat
	extrn	_bbStringFromFloat
	extrn	_bbStringFromInt
	extrn	_bbStringSplit
	extrn	_bbStringToFloat
	extrn	_brl_blitz_ArrayBoundsError
	extrn	_brl_blitz_DebugLog
	extrn	_brl_blitz_NullObjectError
	extrn	_brl_blitz_RuntimeError
	extrn	_brl_eventqueue_EventData
	extrn	_brl_eventqueue_EventID
	extrn	_brl_eventqueue_EventSource
	extrn	_brl_eventqueue_EventX
	extrn	_brl_eventqueue_EventY
	extrn	_brl_eventqueue_WaitEvent
	extrn	_brl_filesystem_CloseDir
	extrn	_brl_filesystem_CopyFile
	extrn	_brl_filesystem_CreateDir
	extrn	_brl_filesystem_ExtractExt
	extrn	_brl_filesystem_FileType
	extrn	_brl_filesystem_NextFile
	extrn	_brl_filesystem_ReadDir
	extrn	_brl_filesystem_StripDir
	extrn	_brl_filesystem_StripExt
	extrn	_brl_glgraphics_GLGraphicsDriver
	extrn	_brl_graphics_Flip
	extrn	_brl_graphics_SetGraphics
	extrn	_brl_graphics_SetGraphicsDriver
	extrn	_brl_linkedlist_ClearList
	extrn	_brl_linkedlist_CountList
	extrn	_brl_linkedlist_ListAddLast
	extrn	_brl_linkedlist_TList
	extrn	_brl_retro_Lower
	extrn	_brl_system_Confirm
	extrn	_brl_system_Notify
	extrn	_brl_system_RequestDir
	extrn	_brl_system_RequestFile
	extrn	_brl_timer_CreateTimer
	extrn	_getenv_
	extrn	_maxgui_maxgui_ActivateGadget
	extrn	_maxgui_maxgui_AddGadgetItem
	extrn	_maxgui_maxgui_CanvasGraphics
	extrn	_maxgui_maxgui_ClearGadgetItems
	extrn	_maxgui_maxgui_ClientHeight
	extrn	_maxgui_maxgui_ClientWidth
	extrn	_maxgui_maxgui_CreateButton
	extrn	_maxgui_maxgui_CreateCanvas
	extrn	_maxgui_maxgui_CreateComboBox
	extrn	_maxgui_maxgui_CreateLabel
	extrn	_maxgui_maxgui_CreateListBox
	extrn	_maxgui_maxgui_CreateMenu
	extrn	_maxgui_maxgui_CreateWindow
	extrn	_maxgui_maxgui_Desktop
	extrn	_maxgui_maxgui_GadgetHeight
	extrn	_maxgui_maxgui_GadgetItemExtra
	extrn	_maxgui_maxgui_GadgetWidth
	extrn	_maxgui_maxgui_HideGadget
	extrn	_maxgui_maxgui_RedrawGadget
	extrn	_maxgui_maxgui_SelectGadgetItem
	extrn	_maxgui_maxgui_SelectedGadgetItem
	extrn	_maxgui_maxgui_SetGadgetLayout
	extrn	_maxgui_maxgui_ShowGadget
	extrn	_maxgui_maxgui_UpdateWindowMenu
	extrn	_maxgui_maxgui_WindowMenu
	extrn	_pub_maxml_xmlDocument
	extrn	_sidesign_minib3d_CameraPick
	extrn	_sidesign_minib3d_CameraViewport
	extrn	_sidesign_minib3d_CreateCamera
	extrn	_sidesign_minib3d_CreateCube
	extrn	_sidesign_minib3d_CreateLight
	extrn	_sidesign_minib3d_CreatePivot
	extrn	_sidesign_minib3d_CreateSphere
	extrn	_sidesign_minib3d_EntityBox
	extrn	_sidesign_minib3d_EntityColor
	extrn	_sidesign_minib3d_EntityFX
	extrn	_sidesign_minib3d_EntityOrder
	extrn	_sidesign_minib3d_EntityParent
	extrn	_sidesign_minib3d_EntityPickMode
	extrn	_sidesign_minib3d_EntityPitch
	extrn	_sidesign_minib3d_EntityRadius
	extrn	_sidesign_minib3d_EntityRoll
	extrn	_sidesign_minib3d_EntityTexture
	extrn	_sidesign_minib3d_EntityX
	extrn	_sidesign_minib3d_EntityY
	extrn	_sidesign_minib3d_EntityYaw
	extrn	_sidesign_minib3d_EntityZ
	extrn	_sidesign_minib3d_FitMesh
	extrn	_sidesign_minib3d_FlipMesh
	extrn	_sidesign_minib3d_FreeEntity
	extrn	_sidesign_minib3d_HideEntity
	extrn	_sidesign_minib3d_LoadMesh
	extrn	_sidesign_minib3d_LoadTexture
	extrn	_sidesign_minib3d_MeshDepth
	extrn	_sidesign_minib3d_MeshHeight
	extrn	_sidesign_minib3d_MeshWidth
	extrn	_sidesign_minib3d_MoveEntity
	extrn	_sidesign_minib3d_PositionEntity
	extrn	_sidesign_minib3d_RenderWorld
	extrn	_sidesign_minib3d_RotateEntity
	extrn	_sidesign_minib3d_ScaleEntity
	extrn	_sidesign_minib3d_ScaleTexture
	extrn	_sidesign_minib3d_ShowEntity
	extrn	_sidesign_minib3d_TCamera
	extrn	_sidesign_minib3d_TGlobal
	extrn	_sidesign_minib3d_TMesh
	extrn	_sidesign_minib3d_TurnEntity
	public	__bb_CEditor_Delete
	public	__bb_CEditor_Init
	public	__bb_CEditor_InitGUI
	public	__bb_CEditor_New
	public	__bb_CEditor_OnEvent
	public	__bb_CEditor_OnNewMap
	public	__bb_CEditor_SetWorkDir
	public	__bb_CGNodes_AddtoMap
	public	__bb_CGNodes_Delete
	public	__bb_CGNodes_New
	public	__bb_CGNodes_Update
	public	__bb_CGNodes_init
	public	__bb_CGObjs_AddObject
	public	__bb_CGObjs_AddtoMap
	public	__bb_CGObjs_Delete
	public	__bb_CGObjs_New
	public	__bb_CGObjs_RefreshObjects
	public	__bb_CGObjs_Update
	public	__bb_CGObjs_init
	public	__bb_CUI_Delete
	public	__bb_CUI_Init
	public	__bb_CUI_New
	public	__bb_CUI_Update
	public	__bb_CedUI_Delete
	public	__bb_CedUI_Init
	public	__bb_CedUI_Init3D
	public	__bb_CedUI_LoadMap
	public	__bb_CedUI_New
	public	__bb_CedUI_NewMap
	public	__bb_CedUI_RefreshSceneList
	public	__bb_CedUI_Update
	public	__bb_Gizmo_Create
	public	__bb_Gizmo_Delete
	public	__bb_Gizmo_New
	public	__bb_Gizmo_Update
	public	__bb_MapObject_Delete
	public	__bb_MapObject_New
	public	__bb_MapProps_Delete
	public	__bb_MapProps_New
	public	__bb_MapProps_init
	public	__bb_RotationGizmo_Create
	public	__bb_RotationGizmo_Delete
	public	__bb_RotationGizmo_New
	public	__bb_TransformGizmo_Create
	public	__bb_TransformGizmo_Delete
	public	__bb_TransformGizmo_New
	public	__bb_TransformGizmo_Update
	public	__bb_main
	public	_bb_CEditor
	public	_bb_CGNodes
	public	_bb_CGObjs
	public	_bb_CUI
	public	_bb_CURRENTMAP
	public	_bb_CedUI
	public	_bb_Gizmo
	public	_bb_MainEditor
	public	_bb_MapObject
	public	_bb_MapObjects
	public	_bb_MapProps
	public	_bb_RotationGizmo
	public	_bb_TransformGizmo
	public	_bb_WorkingDir
	section	"code" code
__bb_main:
	push	ebp
	mov	ebp,esp
	push	ebx
	push	esi
	cmp	dword [_445],0
	je	_446
	mov	eax,0
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
_446:
	mov	dword [_445],1
	push	ebp
	push	_415
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	___bb_blitz_blitz
	call	___bb_drivers_drivers
	call	___bb_minib3d_minib3d
	call	___bb_appstub_appstub
	call	___bb_audio_audio
	call	___bb_d3d7max2d_d3d7max2d
	call	___bb_d3d9max2d_d3d9max2d
	call	___bb_data_data
	call	___bb_directsoundaudio_directsoundaudio
	call	___bb_eventqueue_eventqueue
	call	___bb_freeaudioaudio_freeaudioaudio
	call	___bb_freetypefont_freetypefont
	call	___bb_gnet_gnet
	call	___bb_maxlua_maxlua
	call	___bb_maxutil_maxutil
	call	___bb_oggloader_oggloader
	call	___bb_openalaudio_openalaudio
	call	___bb_tgaloader_tgaloader
	call	___bb_threads_threads
	call	___bb_timer_timer
	call	___bb_wavloader_wavloader
	call	___bb_freejoy_freejoy
	call	___bb_freeprocess_freeprocess
	call	___bb_macos_macos
	call	___bb_maxml_maxml
	push	_bb_CEditor
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_CUI
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_CedUI
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_CGObjs
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_CGNodes
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_MapObject
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_MapProps
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_Gizmo
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_RotationGizmo
	call	_bbObjectRegisterType
	add	esp,4
	push	_bb_TransformGizmo
	call	_bbObjectRegisterType
	add	esp,4
	push	_379
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_381
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_382
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_384]
	and	eax,1
	cmp	eax,0
	jne	_385
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_CURRENTMAP],eax
	or	dword [_384],1
_385:
	push	_386
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_CURRENTMAP]
	cmp	ebx,_bbNullObject
	jne	_388
	call	_brl_blitz_NullObjectError
_388:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_390
	call	_brl_blitz_NullObjectError
_390:
	mov	ebx,_91
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_395
	push	eax
	call	_bbGCFree
	add	esp,4
_395:
	mov	dword [esi+8],ebx
	push	_396
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [_384]
	and	eax,2
	cmp	eax,0
	jne	_398
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	dword [_bb_MapObjects],eax
	or	dword [_384],2
_398:
	push	_399
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	call	_brl_glgraphics_GLGraphicsDriver
	push	eax
	call	_brl_graphics_SetGraphicsDriver
	add	esp,8
	push	_401
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_CEditor
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_MainEditor]
	dec	dword [eax+4]
	jnz	_405
	push	eax
	call	_bbGCFree
	add	esp,4
_405:
	mov	dword [_bb_MainEditor],ebx
	push	_406
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEditor]
	cmp	ebx,_bbNullObject
	jne	_408
	call	_brl_blitz_NullObjectError
_408:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_409
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_126
_128:
	push	ebp
	push	_413
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_410
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEditor]
	cmp	ebx,_bbNullObject
	jne	_412
	call	_brl_blitz_NullObjectError
_412:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_126:
	mov	eax,1
	cmp	eax,0
	jne	_128
_127:
	push	_414
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	mov	ebx,0
	jmp	_223
_223:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CEditor_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_449
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_CEditor
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	push	ebp
	push	_448
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_226
_226:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CEditor_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_229:
	mov	eax,dword [eax+8]
	dec	dword [eax+4]
	jnz	_453
	push	eax
	call	_bbGCFree
	add	esp,4
_453:
	mov	eax,0
	jmp	_451
_451:
	mov	esp,ebp
	pop	ebp
	ret
__bb_CEditor_Init:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_461
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_454
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_457
	call	_brl_blitz_NullObjectError
_457:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_458
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_460
	call	_brl_blitz_NullObjectError
_460:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,0
	jmp	_232
_232:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CEditor_InitGUI:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_475
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_462
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_464
	call	_brl_blitz_NullObjectError
_464:
	push	_bb_CedUI
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	esi,eax
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_469
	push	eax
	call	_bbGCFree
	add	esp,4
_469:
	mov	dword [ebx+8],esi
	push	_470
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_472
	call	_brl_blitz_NullObjectError
_472:
	mov	ebx,dword [ebx+8]
	cmp	ebx,_bbNullObject
	jne	_474
	call	_brl_blitz_NullObjectError
_474:
	push	_bbNullObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	mov	ebx,0
	jmp	_235
_235:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CEditor_SetWorkDir:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-8],eax
	mov	byte [ebp-4],0
	push	ebp
	push	_516
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_476
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_28
	push	_27
	call	_getenv_
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_WorkingDir]
	dec	dword [eax+4]
	jnz	_480
	push	eax
	call	_bbGCFree
	add	esp,4
_480:
	mov	dword [_bb_WorkingDir],ebx
	push	_481
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_WorkingDir]
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_482
	push	ebp
	push	_498
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_483
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	dword [_bb_WorkingDir]
	call	_brl_filesystem_CreateDir
	add	esp,8
	mov	eax,eax
	and	eax,0xff
	mov	eax,eax
	mov	byte [ebp-4],al
	push	_485
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	movzx	eax,byte [ebp-4]
	mov	eax,eax
	cmp	eax,0
	jne	_486
	push	ebp
	push	_497
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_487
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_30
	push	_27
	call	_getenv_
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	_29
	call	_brl_system_RequestDir
	add	esp,8
	inc	dword [eax+4]
	mov	ebx,eax
	mov	eax,dword [_bb_WorkingDir]
	dec	dword [eax+4]
	jnz	_491
	push	eax
	call	_bbGCFree
	add	esp,4
_491:
	mov	dword [_bb_WorkingDir],ebx
	push	_492
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [_bb_WorkingDir]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_493
	push	ebp
	push	_496
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_494
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_31
	call	_brl_system_Notify
	add	esp,8
	push	_495
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
_493:
	call	dword [_bbOnDebugLeaveScope]
_486:
	call	dword [_bbOnDebugLeaveScope]
_482:
	push	_500
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_32
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_501
	push	ebp
	push	_503
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_502
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_32
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_501:
	push	_504
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_33
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_505
	push	ebp
	push	_507
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_506
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_33
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_505:
	push	_508
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_34
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_509
	push	ebp
	push	_511
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_510
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_34
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_509:
	push	_512
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_35
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,0
	jne	_513
	push	ebp
	push	_515
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_514
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_35
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_CreateDir
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_513:
	mov	ebx,0
	jmp	_238
_238:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CEditor_OnEvent:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	push	ebp
	push	_525
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_517
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_WaitEvent
	push	_518
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventID
	mov	dword [ebp-8],eax
	push	_520
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_522
	call	_brl_blitz_NullObjectError
_522:
	mov	ebx,dword [ebx+8]
	cmp	ebx,_bbNullObject
	jne	_524
	call	_brl_blitz_NullObjectError
_524:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	mov	ebx,0
	jmp	_241
_241:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CEditor_OnNewMap:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_527
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_244
_244:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CUI_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_533
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_CUI
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbEmptyArray
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	push	_brl_linkedlist_TList
	call	_bbObjectNew
	add	esp,4
	inc	dword [eax+4]
	mov	edx,dword [ebp-4]
	mov	dword [edx+20],eax
	push	ebp
	push	_532
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_247
_247:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CUI_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_250:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_536
	push	eax
	call	_bbGCFree
	add	esp,4
_536:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_538
	push	eax
	call	_bbGCFree
	add	esp,4
_538:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_540
	push	eax
	call	_bbGCFree
	add	esp,4
_540:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_542
	push	eax
	call	_bbGCFree
	add	esp,4
_542:
	mov	eax,0
	jmp	_534
_534:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CUI_Init:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_557
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_543
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_546
	call	_brl_blitz_NullObjectError
_546:
	mov	eax,dword [ebx+16]
	mov	dword [ebp-8],eax
	push	_547
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_549
	call	_brl_blitz_NullObjectError
_549:
	cmp	dword [ebx+16],_bbNullObject
	je	_550
	push	ebp
	push	_556
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_551
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_553
	call	_brl_blitz_NullObjectError
_553:
	mov	ebx,dword [ebx+16]
	cmp	ebx,_bbNullObject
	jne	_555
	call	_brl_blitz_NullObjectError
_555:
	push	dword [ebp-4]
	push	dword [ebx+20]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_550:
	mov	ebx,0
	jmp	_254
_254:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CUI_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	push	ebp
	push	_559
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_258
_258:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CedUI_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_574
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_CUI_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_CedUI
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+28],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+32],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+36],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+40],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+44],0
	mov	eax,dword [ebp-4]
	mov	dword [eax+48],0
	mov	eax,dword [ebp-4]
	mov	byte [eax+52],0
	mov	eax,dword [ebp-4]
	mov	byte [eax+53],0
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+56],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+60],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+64],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+68],5
	mov	eax,dword [ebp-4]
	mov	dword [eax+72],5
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+76],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+80],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+84],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+88],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+92],edx
	mov	eax,dword [ebp-4]
	mov	dword [eax+96],0
	push	ebp
	push	_573
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_261
_261:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CedUI_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_264:
	mov	eax,dword [ebx+92]
	dec	dword [eax+4]
	jnz	_577
	push	eax
	call	_bbGCFree
	add	esp,4
_577:
	mov	eax,dword [ebx+88]
	dec	dword [eax+4]
	jnz	_579
	push	eax
	call	_bbGCFree
	add	esp,4
_579:
	mov	eax,dword [ebx+84]
	dec	dword [eax+4]
	jnz	_581
	push	eax
	call	_bbGCFree
	add	esp,4
_581:
	mov	eax,dword [ebx+80]
	dec	dword [eax+4]
	jnz	_583
	push	eax
	call	_bbGCFree
	add	esp,4
_583:
	mov	eax,dword [ebx+76]
	dec	dword [eax+4]
	jnz	_585
	push	eax
	call	_bbGCFree
	add	esp,4
_585:
	mov	eax,dword [ebx+64]
	dec	dword [eax+4]
	jnz	_587
	push	eax
	call	_bbGCFree
	add	esp,4
_587:
	mov	eax,dword [ebx+60]
	dec	dword [eax+4]
	jnz	_589
	push	eax
	call	_bbGCFree
	add	esp,4
_589:
	mov	eax,dword [ebx+56]
	dec	dword [eax+4]
	jnz	_591
	push	eax
	call	_bbGCFree
	add	esp,4
_591:
	mov	eax,dword [ebx+40]
	dec	dword [eax+4]
	jnz	_593
	push	eax
	call	_bbGCFree
	add	esp,4
_593:
	mov	eax,dword [ebx+36]
	dec	dword [eax+4]
	jnz	_595
	push	eax
	call	_bbGCFree
	add	esp,4
_595:
	mov	eax,dword [ebx+32]
	dec	dword [eax+4]
	jnz	_597
	push	eax
	call	_bbGCFree
	add	esp,4
_597:
	mov	eax,dword [ebx+28]
	dec	dword [eax+4]
	jnz	_599
	push	eax
	call	_bbGCFree
	add	esp,4
_599:
	mov	eax,dword [ebx+24]
	dec	dword [eax+4]
	jnz	_601
	push	eax
	call	_bbGCFree
	add	esp,4
_601:
	mov	dword [ebx],_bb_CUI
	push	ebx
	call	__bb_CUI_Delete
	add	esp,4
	mov	eax,0
	jmp	_575
_575:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CedUI_Init:
	push	ebp
	mov	ebp,esp
	sub	esp,36
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyArray
	mov	dword [ebp-16],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_780
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_602
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	_604
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	push	_606
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_608
	call	_brl_blitz_NullObjectError
_608:
	push	527
	push	_bbNullObject
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	push	eax
	call	_maxgui_maxgui_Desktop
	push	eax
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	push	eax
	push	0
	push	0
	push	_610
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_614
	push	eax
	call	_bbGCFree
	add	esp,4
_614:
	mov	dword [ebx+8],esi
	push	_615
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_617
	call	_brl_blitz_ArrayBoundsError
_617:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-20],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_620
	call	_brl_blitz_NullObjectError
_620:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_622
	call	_brl_blitz_NullObjectError
_622:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_624
	call	_brl_blitz_NullObjectError
_624:
	push	0
	push	dword [ebx+8]
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	push	eax
	mov	ebx,3
	push	dword [edi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	idiv	ebx
	shl	eax,1
	push	eax
	push	5
	push	5
	call	_maxgui_maxgui_CreateCanvas
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_628
	push	eax
	call	_bbGCFree
	add	esp,4
_628:
	mov	eax,dword [ebp-20]
	mov	dword [eax+24],ebx
	push	_629
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_631
	call	_brl_blitz_NullObjectError
_631:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_634
	call	_brl_blitz_NullObjectError
_634:
	mov	ebx,0
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_636
	call	_brl_blitz_ArrayBoundsError
_636:
	mov	eax,dword [esi+72]
	add	eax,5
	mov	esi,eax
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_GadgetWidth
	add	esp,4
	add	esi,eax
	mov	dword [edi+72],esi
	push	_637
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_639
	call	_brl_blitz_ArrayBoundsError
_639:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-28],eax
	cmp	dword [ebp-28],_bbNullObject
	jne	_642
	call	_brl_blitz_NullObjectError
_642:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_644
	call	_brl_blitz_NullObjectError
_644:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_646
	call	_brl_blitz_NullObjectError
_646:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_648
	call	_brl_blitz_NullObjectError
_648:
	push	0
	push	dword [esi+8]
	push	20
	mov	esi,3
	push	dword [ebx+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	idiv	esi
	sub	eax,10
	push	eax
	push	dword [edi+68]
	mov	eax,dword [ebp-28]
	push	dword [eax+72]
	push	_37
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_652
	push	eax
	call	_bbGCFree
	add	esp,4
_652:
	mov	eax,dword [ebp-32]
	mov	dword [eax+24],ebx
	push	_653
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_655
	call	_brl_blitz_NullObjectError
_655:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_658
	call	_brl_blitz_NullObjectError
_658:
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_660
	call	_brl_blitz_ArrayBoundsError
_660:
	mov	eax,dword [esi+68]
	add	eax,5
	mov	esi,eax
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_GadgetHeight
	add	esp,4
	add	esi,eax
	mov	dword [edi+68],esi
	push	_661
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_663
	call	_brl_blitz_ArrayBoundsError
_663:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-36],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-24],eax
	cmp	dword [ebp-24],_bbNullObject
	jne	_666
	call	_brl_blitz_NullObjectError
_666:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_668
	call	_brl_blitz_NullObjectError
_668:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_670
	call	_brl_blitz_NullObjectError
_670:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_672
	call	_brl_blitz_NullObjectError
_672:
	push	0
	push	dword [esi+8]
	push	150
	mov	esi,3
	push	dword [ebx+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	idiv	esi
	sub	eax,10
	push	eax
	push	dword [edi+68]
	mov	eax,dword [ebp-24]
	push	dword [eax+72]
	call	_maxgui_maxgui_CreateListBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-36]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_676
	push	eax
	call	_bbGCFree
	add	esp,4
_676:
	mov	eax,dword [ebp-36]
	mov	dword [eax+24],ebx
	push	_677
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_679
	call	_brl_blitz_NullObjectError
_679:
	push	0
	push	0
	push	dword [ebx+8]
	call	_maxgui_maxgui_WindowMenu
	add	esp,4
	push	eax
	push	0
	push	_38
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	mov	dword [ebp-16],eax
	push	_681
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	78
	push	dword [ebp-16]
	push	101
	push	_39
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_682
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	79
	push	dword [ebp-16]
	push	102
	push	_40
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_683
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	87
	push	dword [ebp-16]
	push	104
	push	_41
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_684
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	dword [ebp-16]
	push	0
	push	_1
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_685
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	83
	push	dword [ebp-16]
	push	103
	push	_42
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_686
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	dword [ebp-16]
	push	0
	push	_1
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_687
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	2
	push	115
	push	dword [ebp-16]
	push	105
	push	_43
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_688
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_690
	call	_brl_blitz_NullObjectError
_690:
	push	0
	push	0
	push	dword [ebx+8]
	call	_maxgui_maxgui_WindowMenu
	add	esp,4
	push	eax
	push	0
	push	_44
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	mov	dword [ebp-16],eax
	push	_691
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	dword [ebp-16]
	push	201
	push	_45
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_692
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	dword [ebp-16]
	push	202
	push	_46
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_693
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_695
	call	_brl_blitz_NullObjectError
_695:
	push	0
	push	0
	push	dword [ebx+8]
	call	_maxgui_maxgui_WindowMenu
	add	esp,4
	push	eax
	push	0
	push	_47
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	mov	dword [ebp-16],eax
	push	_696
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	dword [ebp-16]
	push	301
	push	_48
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_697
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_699
	call	_brl_blitz_NullObjectError
_699:
	push	0
	push	0
	push	dword [ebx+8]
	call	_maxgui_maxgui_WindowMenu
	add	esp,4
	push	eax
	push	0
	push	_49
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	mov	dword [ebp-16],eax
	push	_700
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	dword [ebp-16]
	push	501
	push	_50
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_701
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	0
	push	dword [ebp-16]
	push	502
	push	_51
	call	_maxgui_maxgui_CreateMenu
	add	esp,20
	push	_702
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_704
	call	_brl_blitz_NullObjectError
_704:
	push	dword [ebx+8]
	call	_maxgui_maxgui_UpdateWindowMenu
	add	esp,4
	push	_705
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_707
	call	_brl_blitz_NullObjectError
_707:
	push	dword [ebx+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	mov	dword [__sidesign_minib3d_TGlobal_width],eax
	push	_708
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_710
	call	_brl_blitz_NullObjectError
_710:
	push	dword [ebx+8]
	call	_maxgui_maxgui_ClientHeight
	add	esp,4
	mov	dword [__sidesign_minib3d_TGlobal_height],eax
	push	_711
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__sidesign_minib3d_TGlobal_depth],16
	push	_712
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__sidesign_minib3d_TGlobal_mode],0
	push	_713
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [__sidesign_minib3d_TGlobal_rate],60
	push	_714
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_716
	call	_brl_blitz_ArrayBoundsError
_716:
	push	1
	push	1
	push	1
	push	1
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SetGadgetLayout
	add	esp,20
	push	_717
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_719
	call	_brl_blitz_ArrayBoundsError
_719:
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_CanvasGraphics
	add	esp,4
	push	eax
	call	_brl_graphics_SetGraphics
	add	esp,4
	push	_720
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_sidesign_minib3d_TGlobal+96]
	push	_721
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_723
	call	_brl_blitz_NullObjectError
_723:
	push	_bbNullObject
	push	1114636288
	call	_brl_timer_CreateTimer
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+24]
	dec	dword [eax+4]
	jnz	_728
	push	eax
	call	_bbGCFree
	add	esp,4
_728:
	mov	dword [esi+24],ebx
	push	_729
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_731
	call	_brl_blitz_NullObjectError
_731:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_736
	push	eax
	call	_bbGCFree
	add	esp,4
_736:
	mov	dword [esi+12],ebx
	push	_737
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_739
	call	_brl_blitz_NullObjectError
_739:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,4
	push	_740
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_742
	call	_brl_blitz_NullObjectError
_742:
	push	_bb_CGObjs
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+56]
	dec	dword [eax+4]
	jnz	_747
	push	eax
	call	_bbGCFree
	add	esp,4
_747:
	mov	dword [esi+56],ebx
	push	_748
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_750
	call	_brl_blitz_NullObjectError
_750:
	mov	ebx,dword [ebx+56]
	cmp	ebx,_bbNullObject
	jne	_752
	call	_brl_blitz_NullObjectError
_752:
	push	_bbNullObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	push	_753
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_755
	call	_brl_blitz_NullObjectError
_755:
	push	_bb_CGNodes
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+60]
	dec	dword [eax+4]
	jnz	_760
	push	eax
	call	_bbGCFree
	add	esp,4
_760:
	mov	dword [esi+60],ebx
	push	_761
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_763
	call	_brl_blitz_NullObjectError
_763:
	mov	ebx,dword [ebx+60]
	cmp	ebx,_bbNullObject
	jne	_765
	call	_brl_blitz_NullObjectError
_765:
	push	_bbNullObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	push	_766
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_768
	call	_brl_blitz_NullObjectError
_768:
	push	_bb_MapProps
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+64]
	dec	dword [eax+4]
	jnz	_773
	push	eax
	call	_bbGCFree
	add	esp,4
_773:
	mov	dword [esi+64],ebx
	push	_774
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_776
	call	_brl_blitz_NullObjectError
_776:
	mov	ebx,dword [ebx+64]
	cmp	ebx,_bbNullObject
	jne	_778
	call	_brl_blitz_NullObjectError
_778:
	push	_bbNullObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,8
	push	_779
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	__bb_CUI_Init
	add	esp,8
	mov	ebx,0
	jmp	_268
_268:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CedUI_Init3D:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,ebp
	push	eax
	push	_893
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_783
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_785
	call	_brl_blitz_NullObjectError
_785:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCamera
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+36]
	dec	dword [eax+4]
	jnz	_790
	push	eax
	call	_bbGCFree
	add	esp,4
_790:
	mov	dword [esi+36],ebx
	push	_791
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_793
	call	_brl_blitz_NullObjectError
_793:
	push	0
	push	-1054867456
	push	1084227584
	push	0
	push	dword [ebx+36]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	_794
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_796
	call	_brl_blitz_NullObjectError
_796:
	push	_bbNullObject
	push	1
	call	_sidesign_minib3d_CreateLight
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+40]
	dec	dword [eax+4]
	jnz	_801
	push	eax
	call	_bbGCFree
	add	esp,4
_801:
	mov	dword [esi+40],ebx
	push	_802
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_804
	call	_brl_blitz_NullObjectError
_804:
	push	_bbNullObject
	push	_52
	call	_sidesign_minib3d_LoadMesh
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+28]
	dec	dword [eax+4]
	jnz	_809
	push	eax
	call	_bbGCFree
	add	esp,4
_809:
	mov	dword [esi+28],ebx
	push	_810
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_812
	call	_brl_blitz_NullObjectError
_812:
	push	0
	push	1148846080
	push	1065353216
	push	1148846080
	push	dword [ebx+28]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	_813
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_815
	call	_brl_blitz_NullObjectError
_815:
	push	1132396544
	push	1132396544
	push	1132396544
	push	dword [ebx+28]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_816
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_818
	call	_brl_blitz_NullObjectError
_818:
	push	3
	push	_53
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+32]
	dec	dword [eax+4]
	jnz	_823
	push	eax
	call	_bbGCFree
	add	esp,4
_823:
	mov	dword [esi+32],ebx
	push	_824
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_826
	call	_brl_blitz_NullObjectError
_826:
	push	981668463
	push	981668463
	push	dword [ebx+32]
	call	_sidesign_minib3d_ScaleTexture
	add	esp,12
	push	_827
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_829
	call	_brl_blitz_NullObjectError
_829:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_831
	call	_brl_blitz_NullObjectError
_831:
	push	0
	push	0
	push	dword [ebx+32]
	push	dword [esi+28]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	_832
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_834
	call	_brl_blitz_NullObjectError
_834:
	push	1
	push	dword [ebx+28]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_835
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_837
	call	_brl_blitz_NullObjectError
_837:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCube
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+76]
	dec	dword [eax+4]
	jnz	_842
	push	eax
	call	_bbGCFree
	add	esp,4
_842:
	mov	dword [esi+76],ebx
	push	_843
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_845
	call	_brl_blitz_NullObjectError
_845:
	push	3
	push	_54
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+80]
	dec	dword [eax+4]
	jnz	_850
	push	eax
	call	_bbGCFree
	add	esp,4
_850:
	mov	dword [esi+80],ebx
	push	_851
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_853
	call	_brl_blitz_NullObjectError
_853:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_855
	call	_brl_blitz_NullObjectError
_855:
	push	0
	push	0
	push	dword [ebx+80]
	push	dword [esi+76]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	_856
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_858
	call	_brl_blitz_NullObjectError
_858:
	push	1
	push	dword [ebx+76]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_859
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_861
	call	_brl_blitz_NullObjectError
_861:
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+76]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_FlipMesh
	add	esp,4
	push	_862
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_864
	call	_brl_blitz_NullObjectError
_864:
	push	_bb_TransformGizmo
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+84]
	dec	dword [eax+4]
	jnz	_869
	push	eax
	call	_bbGCFree
	add	esp,4
_869:
	mov	dword [esi+84],ebx
	push	_870
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_872
	call	_brl_blitz_NullObjectError
_872:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_874
	call	_brl_blitz_NullObjectError
_874:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_875
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_877
	call	_brl_blitz_NullObjectError
_877:
	push	_bb_RotationGizmo
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+88]
	dec	dword [eax+4]
	jnz	_882
	push	eax
	call	_bbGCFree
	add	esp,4
_882:
	mov	dword [esi+88],ebx
	push	_883
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_885
	call	_brl_blitz_NullObjectError
_885:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_887
	call	_brl_blitz_NullObjectError
_887:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	push	_888
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_890
	call	_brl_blitz_NullObjectError
_890:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_892
	call	_brl_blitz_NullObjectError
_892:
	push	dword [ebx+8]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	mov	ebx,0
	jmp	_271
_271:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CedUI_RefreshSceneList:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_921
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_894
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_896
	call	_brl_blitz_NullObjectError
_896:
	mov	esi,dword [ebx+12]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_899
	call	_brl_blitz_ArrayBoundsError
_899:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_ClearGadgetItems
	add	esp,4
	push	_900
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-8],_bbNullObject
	mov	eax,dword [_bb_MapObjects]
	mov	dword [ebp-16],eax
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_904
	call	_brl_blitz_NullObjectError
_904:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	dword [ebp-12],eax
	jmp	_55
_57:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_909
	call	_brl_blitz_NullObjectError
_909:
	push	_bb_MapObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-8],eax
	cmp	dword [ebp-8],_bbNullObject
	je	_55
	mov	eax,ebp
	push	eax
	push	_918
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_910
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_912
	call	_brl_blitz_NullObjectError
_912:
	mov	edi,dword [ebx+12]
	mov	esi,2
	cmp	esi,dword [edi+20]
	jb	_915
	call	_brl_blitz_ArrayBoundsError
_915:
	mov	ebx,dword [ebp-8]
	cmp	ebx,_bbNullObject
	jne	_917
	call	_brl_blitz_NullObjectError
_917:
	push	dword [ebp-8]
	push	_1
	push	-1
	push	0
	push	dword [ebx+16]
	push	dword [edi+esi*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	call	dword [_bbOnDebugLeaveScope]
_55:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_907
	call	_brl_blitz_NullObjectError
_907:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_57
_56:
	mov	ebx,0
	jmp	_274
_274:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CedUI_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,112
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-24],_bbNullObject
	mov	dword [ebp-28],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-32],_bbEmptyString
	mov	dword [ebp-36],_bbEmptyString
	mov	dword [ebp-40],_bbEmptyString
	mov	dword [ebp-44],_bbEmptyString
	mov	dword [ebp-48],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_1765
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_922
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,8195
	je	_925
	cmp	eax,8193
	je	_926
	cmp	eax,32769
	je	_927
	cmp	eax,1025
	je	_928
	cmp	eax,1026
	je	_929
	cmp	eax,1028
	je	_930
	cmp	eax,1027
	je	_931
	cmp	eax,2049
	je	_932
	cmp	eax,8194
	je	_933
	cmp	eax,16387
	je	_934
	jmp	_924
_925:
	mov	eax,ebp
	push	eax
	push	_1080
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_935
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	edi,eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_940
	call	_brl_blitz_NullObjectError
_940:
	mov	esi,dword [ebx+12]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_943
	call	_brl_blitz_ArrayBoundsError
_943:
	cmp	edi,dword [esi+ebx*4+24]
	je	_938
	jmp	_937
_938:
	mov	eax,ebp
	push	eax
	push	_1079
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_944
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_58
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_945
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_947
	call	_brl_blitz_NullObjectError
_947:
	mov	esi,dword [ebx+12]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_950
	call	_brl_blitz_ArrayBoundsError
_950:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	cmp	eax,-1
	je	_951
	mov	eax,ebp
	push	eax
	push	_1078
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_952
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_954
	call	_brl_blitz_NullObjectError
_954:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-56],eax
	mov	edi,2
	mov	eax,dword [ebp-56]
	cmp	edi,dword [eax+20]
	jb	_957
	call	_brl_blitz_ArrayBoundsError
_957:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_959
	call	_brl_blitz_NullObjectError
_959:
	mov	esi,dword [ebx+12]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_962
	call	_brl_blitz_ArrayBoundsError
_962:
	push	_bb_MapObject
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	push	eax
	mov	eax,dword [ebp-56]
	push	dword [eax+edi*4+24]
	call	_maxgui_maxgui_GadgetItemExtra
	add	esp,8
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	push	_964
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],_bbNullObject
	je	_965
	mov	eax,ebp
	push	eax
	push	_1076
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_966
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_59
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_967
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_969
	call	_brl_blitz_NullObjectError
_969:
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+8]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-16],eax
	push	_971
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-24],_bbNullObject
	mov	edi,dword [_bb_MapObjects]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_975
	call	_brl_blitz_NullObjectError
_975:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	esi,eax
	jmp	_60
_62:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_980
	call	_brl_blitz_NullObjectError
_980:
	push	_bb_MapObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-24],eax
	cmp	dword [ebp-24],_bbNullObject
	je	_60
	mov	eax,ebp
	push	eax
	push	_989
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_981
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-24]
	cmp	ebx,_bbNullObject
	jne	_983
	call	_brl_blitz_NullObjectError
_983:
	push	_sidesign_minib3d_TCamera
	push	dword [ebx+8]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-28],eax
	push	_985
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-28],_bbNullObject
	je	_986
	mov	eax,ebp
	push	eax
	push	_988
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_987
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_986:
	call	dword [_bbOnDebugLeaveScope]
_60:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_978
	call	_brl_blitz_NullObjectError
_978:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_62
_61:
	push	_992
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_994
	call	_brl_blitz_NullObjectError
_994:
	push	_sidesign_minib3d_TCamera
	push	dword [ebx+8]
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-20],eax
	push	_996
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],_bbNullObject
	je	_997
	mov	eax,ebp
	push	eax
	push	_1001
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_998
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1000
	call	_brl_blitz_NullObjectError
_1000:
	push	dword [ebx+8]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_997:
	push	_1002
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-16],_bbNullObject
	je	_1003
	mov	eax,ebp
	push	eax
	push	_1008
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1004
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_63
	call	_brl_blitz_DebugLog
	add	esp,4
	push	_1005
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1007
	call	_brl_blitz_NullObjectError
_1007:
	push	0
	push	dword [ebp-16]
	call	_sidesign_minib3d_MeshDepth
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	call	_sidesign_minib3d_MeshHeight
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	call	_sidesign_minib3d_MeshWidth
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	call	_sidesign_minib3d_MeshDepth
	add	esp,4
	fdiv	dword [_3229]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	call	_sidesign_minib3d_MeshHeight
	add	esp,4
	fdiv	dword [_3230]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebp-16]
	call	_sidesign_minib3d_MeshWidth
	add	esp,4
	fdiv	dword [_3231]
	fchs
	sub	esp,4
	fstp	dword [esp]
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+76]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_FitMesh
	add	esp,32
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1009
_1003:
	mov	eax,ebp
	push	eax
	push	_1013
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1010
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1012
	call	_brl_blitz_NullObjectError
_1012:
	push	0
	push	1065353216
	push	1065353216
	push	1065353216
	push	-1090519040
	push	-1090519040
	push	-1090519040
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+76]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_FitMesh
	add	esp,32
	call	dword [_bbOnDebugLeaveScope]
_1009:
	push	_1014
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1016
	call	_brl_blitz_NullObjectError
_1016:
	mov	eax,dword [ebx+84]
	mov	dword [ebp-88],eax
	cmp	dword [ebp-88],_bbNullObject
	jne	_1018
	call	_brl_blitz_NullObjectError
_1018:
	mov	edi,dword [ebp-12]
	cmp	edi,_bbNullObject
	jne	_1020
	call	_brl_blitz_NullObjectError
_1020:
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_1022
	call	_brl_blitz_NullObjectError
_1022:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1024
	call	_brl_blitz_NullObjectError
_1024:
	push	1
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-88]
	push	dword [eax+8]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	_1025
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1027
	call	_brl_blitz_NullObjectError
_1027:
	mov	eax,dword [ebx+88]
	mov	dword [ebp-92],eax
	cmp	dword [ebp-92],_bbNullObject
	jne	_1029
	call	_brl_blitz_NullObjectError
_1029:
	mov	edi,dword [ebp-12]
	cmp	edi,_bbNullObject
	jne	_1031
	call	_brl_blitz_NullObjectError
_1031:
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_1033
	call	_brl_blitz_NullObjectError
_1033:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1035
	call	_brl_blitz_NullObjectError
_1035:
	push	1
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-92]
	push	dword [eax+8]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	_1036
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [ebp-96],eax
	cmp	dword [ebp-96],_bbNullObject
	jne	_1038
	call	_brl_blitz_NullObjectError
_1038:
	mov	edi,dword [ebp-12]
	cmp	edi,_bbNullObject
	jne	_1040
	call	_brl_blitz_NullObjectError
_1040:
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_1042
	call	_brl_blitz_NullObjectError
_1042:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1044
	call	_brl_blitz_NullObjectError
_1044:
	push	1
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-96]
	push	dword [eax+76]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	push	_1045
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1047
	call	_brl_blitz_NullObjectError
_1047:
	mov	eax,dword [ebx+84]
	mov	dword [ebp-100],eax
	cmp	dword [ebp-100],_bbNullObject
	jne	_1049
	call	_brl_blitz_NullObjectError
_1049:
	mov	edi,dword [ebp-12]
	cmp	edi,_bbNullObject
	jne	_1051
	call	_brl_blitz_NullObjectError
_1051:
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_1053
	call	_brl_blitz_NullObjectError
_1053:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1055
	call	_brl_blitz_NullObjectError
_1055:
	push	1
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-100]
	push	dword [eax+8]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	_1056
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1058
	call	_brl_blitz_NullObjectError
_1058:
	mov	eax,dword [ebx+88]
	mov	dword [ebp-104],eax
	cmp	dword [ebp-104],_bbNullObject
	jne	_1060
	call	_brl_blitz_NullObjectError
_1060:
	mov	edi,dword [ebp-12]
	cmp	edi,_bbNullObject
	jne	_1062
	call	_brl_blitz_NullObjectError
_1062:
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_1064
	call	_brl_blitz_NullObjectError
_1064:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1066
	call	_brl_blitz_NullObjectError
_1066:
	push	1
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-104]
	push	dword [eax+8]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	_1067
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [ebp-108],eax
	cmp	dword [ebp-108],_bbNullObject
	jne	_1069
	call	_brl_blitz_NullObjectError
_1069:
	mov	edi,dword [ebp-12]
	cmp	edi,_bbNullObject
	jne	_1071
	call	_brl_blitz_NullObjectError
_1071:
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_1073
	call	_brl_blitz_NullObjectError
_1073:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1075
	call	_brl_blitz_NullObjectError
_1075:
	push	1
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-108]
	push	dword [eax+76]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	call	dword [_bbOnDebugLeaveScope]
_965:
	call	dword [_bbOnDebugLeaveScope]
_951:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_937
_937:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_926:
	mov	eax,ebp
	push	eax
	push	_1084
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1081
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	jmp	_1083
_1083:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_927:
	mov	eax,ebp
	push	eax
	push	_1178
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1085
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventData
	cmp	eax,101
	je	_1088
	cmp	eax,102
	je	_1089
	cmp	eax,201
	je	_1090
	cmp	eax,202
	je	_1091
	cmp	eax,501
	je	_1092
	cmp	eax,502
	je	_1093
	cmp	eax,103
	je	_1094
	jmp	_1087
_1088:
	mov	eax,ebp
	push	eax
	push	_1098
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1095
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1097
	call	_brl_blitz_NullObjectError
_1097:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1087
_1089:
	mov	eax,ebp
	push	eax
	push	_1112
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1099
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1101
	call	_brl_blitz_NullObjectError
_1101:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+68]
	add	esp,4
	push	_1102
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-32],_64
	push	_1104
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_66
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	0
	push	dword [ebp-32]
	push	_65
	call	_brl_system_RequestFile
	add	esp,16
	mov	dword [ebp-36],eax
	push	_1106
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-36]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1107
	mov	eax,ebp
	push	eax
	push	_1111
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1108
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1110
	call	_brl_blitz_NullObjectError
_1110:
	push	dword [ebp-36]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_1107:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1087
_1090:
	mov	eax,ebp
	push	eax
	push	_1129
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1115
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1117
	call	_brl_blitz_NullObjectError
_1117:
	mov	dword [ebx+96],0
	push	_1119
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1121
	call	_brl_blitz_NullObjectError
_1121:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_1123
	call	_brl_blitz_NullObjectError
_1123:
	push	dword [ebx+8]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	_1124
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1126
	call	_brl_blitz_NullObjectError
_1126:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_1128
	call	_brl_blitz_NullObjectError
_1128:
	push	dword [ebx+8]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1087
_1091:
	mov	eax,ebp
	push	eax
	push	_1144
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1130
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1132
	call	_brl_blitz_NullObjectError
_1132:
	mov	dword [ebx+96],1
	push	_1134
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1136
	call	_brl_blitz_NullObjectError
_1136:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_1138
	call	_brl_blitz_NullObjectError
_1138:
	push	dword [ebx+8]
	call	_sidesign_minib3d_ShowEntity
	add	esp,4
	push	_1139
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1141
	call	_brl_blitz_NullObjectError
_1141:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_1143
	call	_brl_blitz_NullObjectError
_1143:
	push	dword [ebx+8]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1087
_1092:
	mov	eax,ebp
	push	eax
	push	_1155
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1145
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1147
	call	_brl_blitz_NullObjectError
_1147:
	mov	ebx,dword [ebx+56]
	cmp	ebx,_bbNullObject
	jne	_1149
	call	_brl_blitz_NullObjectError
_1149:
	push	dword [ebx+8]
	call	_maxgui_maxgui_ShowGadget
	add	esp,4
	push	_1150
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1152
	call	_brl_blitz_NullObjectError
_1152:
	mov	ebx,dword [ebx+56]
	cmp	ebx,_bbNullObject
	jne	_1154
	call	_brl_blitz_NullObjectError
_1154:
	push	dword [ebx+8]
	call	_maxgui_maxgui_ActivateGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1087
_1093:
	mov	eax,ebp
	push	eax
	push	_1166
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1156
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1158
	call	_brl_blitz_NullObjectError
_1158:
	mov	ebx,dword [ebx+60]
	cmp	ebx,_bbNullObject
	jne	_1160
	call	_brl_blitz_NullObjectError
_1160:
	push	dword [ebx+8]
	call	_maxgui_maxgui_ShowGadget
	add	esp,4
	push	_1161
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1163
	call	_brl_blitz_NullObjectError
_1163:
	mov	ebx,dword [ebx+60]
	cmp	ebx,_bbNullObject
	jne	_1165
	call	_brl_blitz_NullObjectError
_1165:
	push	dword [ebx+8]
	call	_maxgui_maxgui_ActivateGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1087
_1094:
	mov	eax,ebp
	push	eax
	push	_1177
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1167
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-40],_64
	push	_1169
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_68
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	1
	push	dword [ebp-40]
	push	_67
	call	_brl_system_RequestFile
	add	esp,16
	mov	dword [ebp-44],eax
	push	_1171
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-44]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1172
	mov	eax,ebp
	push	eax
	push	_1176
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1173
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_CURRENTMAP]
	cmp	ebx,_bbNullObject
	jne	_1175
	call	_brl_blitz_NullObjectError
_1175:
	push	1
	push	dword [ebp-44]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	call	dword [_bbOnDebugLeaveScope]
_1172:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1087
_1087:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_928:
	mov	eax,ebp
	push	eax
	push	_1193
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1179
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventData
	cmp	eax,2
	jne	_1180
	mov	eax,ebp
	push	eax
	push	_1185
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1181
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1183
	call	_brl_blitz_NullObjectError
_1183:
	mov	byte [ebx+52],1
	call	dword [_bbOnDebugLeaveScope]
_1180:
	push	_1186
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventData
	cmp	eax,1
	jne	_1187
	mov	eax,ebp
	push	eax
	push	_1192
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1188
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1190
	call	_brl_blitz_NullObjectError
_1190:
	mov	byte [ebx+53],1
	call	dword [_bbOnDebugLeaveScope]
_1187:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_929:
	mov	eax,ebp
	push	eax
	push	_1208
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1194
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventData
	cmp	eax,2
	jne	_1195
	mov	eax,ebp
	push	eax
	push	_1200
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1196
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1198
	call	_brl_blitz_NullObjectError
_1198:
	mov	byte [ebx+52],0
	call	dword [_bbOnDebugLeaveScope]
_1195:
	push	_1201
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventData
	cmp	eax,1
	jne	_1202
	mov	eax,ebp
	push	eax
	push	_1207
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1203
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1205
	call	_brl_blitz_NullObjectError
_1205:
	mov	byte [ebx+53],0
	call	dword [_bbOnDebugLeaveScope]
_1202:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_930:
	mov	eax,ebp
	push	eax
	push	_1212
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1209
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1211
	call	_brl_blitz_NullObjectError
_1211:
	call	_brl_eventqueue_EventData
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [ebx+36]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_931:
	mov	eax,ebp
	push	eax
	push	_1571
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1213
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1215
	call	_brl_blitz_NullObjectError
_1215:
	movzx	eax,byte [ebx+52]
	mov	eax,eax
	cmp	eax,1
	jne	_1216
	mov	eax,ebp
	push	eax
	push	_1224
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1217
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1219
	call	_brl_blitz_NullObjectError
_1219:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1221
	call	_brl_blitz_NullObjectError
_1221:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1223
	call	_brl_blitz_NullObjectError
_1223:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	call	_brl_eventqueue_EventY
	sub	eax,dword [esi+48]
	neg	eax
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [edi+36]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	call	dword [_bbOnDebugLeaveScope]
_1216:
	push	_1225
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1227
	call	_brl_blitz_NullObjectError
_1227:
	movzx	eax,byte [ebx+53]
	mov	eax,eax
	cmp	eax,1
	jne	_1228
	mov	eax,ebp
	push	eax
	push	_1562
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1229
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1231
	call	_brl_blitz_NullObjectError
_1231:
	mov	eax,dword [ebx+92]
	cmp	eax,_bbNullObject
	setne	al
	movzx	eax,al
	cmp	eax,0
	je	_1237
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1233
	call	_brl_blitz_NullObjectError
_1233:
	mov	esi,dword [ebx+12]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_1236
	call	_brl_blitz_ArrayBoundsError
_1236:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	cmp	eax,-1
	setne	al
	movzx	eax,al
_1237:
	cmp	eax,0
	je	_1239
	mov	eax,ebp
	push	eax
	push	_1561
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1240
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1242
	call	_brl_blitz_NullObjectError
_1242:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-52],eax
	mov	edi,2
	mov	eax,dword [ebp-52]
	cmp	edi,dword [eax+20]
	jb	_1245
	call	_brl_blitz_ArrayBoundsError
_1245:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1247
	call	_brl_blitz_NullObjectError
_1247:
	mov	esi,dword [ebx+12]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_1250
	call	_brl_blitz_ArrayBoundsError
_1250:
	push	_bb_MapObject
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	push	eax
	mov	eax,dword [ebp-52]
	push	dword [eax+edi*4+24]
	call	_maxgui_maxgui_GadgetItemExtra
	add	esp,8
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-48],eax
	push	_1252
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-48],_bbNullObject
	je	_1253
	mov	eax,ebp
	push	eax
	push	_1560
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1254
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1256
	call	_brl_blitz_NullObjectError
_1256:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1258
	call	_brl_blitz_NullObjectError
_1258:
	mov	esi,dword [esi+88]
	cmp	esi,_bbNullObject
	jne	_1260
	call	_brl_blitz_NullObjectError
_1260:
	mov	eax,dword [esi+12]
	cmp	dword [ebx+92],eax
	jne	_1261
	mov	eax,ebp
	push	eax
	push	_1304
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1262
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1264
	call	_brl_blitz_NullObjectError
_1264:
	mov	esi,dword [ebx+84]
	cmp	esi,_bbNullObject
	jne	_1266
	call	_brl_blitz_NullObjectError
_1266:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1268
	call	_brl_blitz_NullObjectError
_1268:
	push	0
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1269
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1271
	call	_brl_blitz_NullObjectError
_1271:
	mov	esi,dword [ebx+88]
	cmp	esi,_bbNullObject
	jne	_1273
	call	_brl_blitz_NullObjectError
_1273:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1275
	call	_brl_blitz_NullObjectError
_1275:
	push	0
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1276
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1278
	call	_brl_blitz_NullObjectError
_1278:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1280
	call	_brl_blitz_NullObjectError
_1280:
	push	0
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1281
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1283
	call	_brl_blitz_NullObjectError
_1283:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1285
	call	_brl_blitz_NullObjectError
_1285:
	push	0
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+76]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1286
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1288
	call	_brl_blitz_NullObjectError
_1288:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_1290
	call	_brl_blitz_NullObjectError
_1290:
	push	1
	push	_69
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1292
	call	_brl_blitz_NullObjectError
_1292:
	mov	dword [ebp-60],ebx
	mov	edi,dword [ebp-48]
	cmp	edi,_bbNullObject
	jne	_1295
	call	_brl_blitz_NullObjectError
_1295:
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1297
	call	_brl_blitz_NullObjectError
_1297:
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1299
	call	_brl_blitz_NullObjectError
_1299:
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_1
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-60]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_1303
	push	eax
	call	_bbGCFree
	add	esp,4
_1303:
	mov	eax,dword [ebp-60]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_1261:
	push	_1305
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1307
	call	_brl_blitz_NullObjectError
_1307:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1309
	call	_brl_blitz_NullObjectError
_1309:
	mov	esi,dword [esi+88]
	cmp	esi,_bbNullObject
	jne	_1311
	call	_brl_blitz_NullObjectError
_1311:
	mov	eax,dword [esi+16]
	cmp	dword [ebx+92],eax
	jne	_1312
	mov	eax,ebp
	push	eax
	push	_1355
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1313
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1315
	call	_brl_blitz_NullObjectError
_1315:
	mov	esi,dword [ebx+84]
	cmp	esi,_bbNullObject
	jne	_1317
	call	_brl_blitz_NullObjectError
_1317:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1319
	call	_brl_blitz_NullObjectError
_1319:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1320
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1322
	call	_brl_blitz_NullObjectError
_1322:
	mov	esi,dword [ebx+88]
	cmp	esi,_bbNullObject
	jne	_1324
	call	_brl_blitz_NullObjectError
_1324:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1326
	call	_brl_blitz_NullObjectError
_1326:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1327
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1329
	call	_brl_blitz_NullObjectError
_1329:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1331
	call	_brl_blitz_NullObjectError
_1331:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1332
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1334
	call	_brl_blitz_NullObjectError
_1334:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1336
	call	_brl_blitz_NullObjectError
_1336:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+76]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1337
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1339
	call	_brl_blitz_NullObjectError
_1339:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_1341
	call	_brl_blitz_NullObjectError
_1341:
	push	1
	push	_69
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1343
	call	_brl_blitz_NullObjectError
_1343:
	mov	dword [ebp-64],ebx
	mov	edi,dword [ebp-48]
	cmp	edi,_bbNullObject
	jne	_1346
	call	_brl_blitz_NullObjectError
_1346:
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1348
	call	_brl_blitz_NullObjectError
_1348:
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1350
	call	_brl_blitz_NullObjectError
_1350:
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_1
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-64]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_1354
	push	eax
	call	_bbGCFree
	add	esp,4
_1354:
	mov	eax,dword [ebp-64]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_1312:
	push	_1356
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1358
	call	_brl_blitz_NullObjectError
_1358:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1360
	call	_brl_blitz_NullObjectError
_1360:
	mov	esi,dword [esi+88]
	cmp	esi,_bbNullObject
	jne	_1362
	call	_brl_blitz_NullObjectError
_1362:
	mov	eax,dword [esi+20]
	cmp	dword [ebx+92],eax
	jne	_1363
	mov	eax,ebp
	push	eax
	push	_1406
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1364
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1366
	call	_brl_blitz_NullObjectError
_1366:
	mov	esi,dword [ebx+84]
	cmp	esi,_bbNullObject
	jne	_1368
	call	_brl_blitz_NullObjectError
_1368:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1370
	call	_brl_blitz_NullObjectError
_1370:
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1371
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1373
	call	_brl_blitz_NullObjectError
_1373:
	mov	esi,dword [ebx+88]
	cmp	esi,_bbNullObject
	jne	_1375
	call	_brl_blitz_NullObjectError
_1375:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1377
	call	_brl_blitz_NullObjectError
_1377:
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1378
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1380
	call	_brl_blitz_NullObjectError
_1380:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1382
	call	_brl_blitz_NullObjectError
_1382:
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1383
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1385
	call	_brl_blitz_NullObjectError
_1385:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1387
	call	_brl_blitz_NullObjectError
_1387:
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [esi+76]
	call	_sidesign_minib3d_TurnEntity
	add	esp,20
	push	_1388
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1390
	call	_brl_blitz_NullObjectError
_1390:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_1392
	call	_brl_blitz_NullObjectError
_1392:
	push	1
	push	_69
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1394
	call	_brl_blitz_NullObjectError
_1394:
	mov	dword [ebp-68],ebx
	mov	edi,dword [ebp-48]
	cmp	edi,_bbNullObject
	jne	_1397
	call	_brl_blitz_NullObjectError
_1397:
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1399
	call	_brl_blitz_NullObjectError
_1399:
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1401
	call	_brl_blitz_NullObjectError
_1401:
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityRoll
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityYaw
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityPitch
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_1
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-68]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_1405
	push	eax
	call	_bbGCFree
	add	esp,4
_1405:
	mov	eax,dword [ebp-68]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_1363:
	push	_1407
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1409
	call	_brl_blitz_NullObjectError
_1409:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1411
	call	_brl_blitz_NullObjectError
_1411:
	mov	esi,dword [esi+84]
	cmp	esi,_bbNullObject
	jne	_1413
	call	_brl_blitz_NullObjectError
_1413:
	mov	eax,dword [esi+12]
	cmp	dword [ebx+92],eax
	jne	_1414
	mov	eax,ebp
	push	eax
	push	_1457
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1417
	call	_brl_blitz_NullObjectError
_1417:
	mov	esi,dword [ebx+84]
	cmp	esi,_bbNullObject
	jne	_1419
	call	_brl_blitz_NullObjectError
_1419:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1421
	call	_brl_blitz_NullObjectError
_1421:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1422
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1424
	call	_brl_blitz_NullObjectError
_1424:
	mov	esi,dword [ebx+88]
	cmp	esi,_bbNullObject
	jne	_1426
	call	_brl_blitz_NullObjectError
_1426:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1428
	call	_brl_blitz_NullObjectError
_1428:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1429
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1431
	call	_brl_blitz_NullObjectError
_1431:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1433
	call	_brl_blitz_NullObjectError
_1433:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1434
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1436
	call	_brl_blitz_NullObjectError
_1436:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1438
	call	_brl_blitz_NullObjectError
_1438:
	push	0
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [esi+76]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1439
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1441
	call	_brl_blitz_NullObjectError
_1441:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_1443
	call	_brl_blitz_NullObjectError
_1443:
	push	1
	push	_71
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1445
	call	_brl_blitz_NullObjectError
_1445:
	mov	dword [ebp-72],ebx
	mov	edi,dword [ebp-48]
	cmp	edi,_bbNullObject
	jne	_1448
	call	_brl_blitz_NullObjectError
_1448:
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1450
	call	_brl_blitz_NullObjectError
_1450:
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1452
	call	_brl_blitz_NullObjectError
_1452:
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_1
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-72]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_1456
	push	eax
	call	_bbGCFree
	add	esp,4
_1456:
	mov	eax,dword [ebp-72]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_1414:
	push	_1458
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1460
	call	_brl_blitz_NullObjectError
_1460:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1462
	call	_brl_blitz_NullObjectError
_1462:
	mov	esi,dword [esi+84]
	cmp	esi,_bbNullObject
	jne	_1464
	call	_brl_blitz_NullObjectError
_1464:
	mov	eax,dword [esi+16]
	cmp	dword [ebx+92],eax
	jne	_1465
	mov	eax,ebp
	push	eax
	push	_1508
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1466
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1468
	call	_brl_blitz_NullObjectError
_1468:
	mov	esi,dword [ebx+84]
	cmp	esi,_bbNullObject
	jne	_1470
	call	_brl_blitz_NullObjectError
_1470:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1472
	call	_brl_blitz_NullObjectError
_1472:
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1473
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1475
	call	_brl_blitz_NullObjectError
_1475:
	mov	esi,dword [ebx+88]
	cmp	esi,_bbNullObject
	jne	_1477
	call	_brl_blitz_NullObjectError
_1477:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1479
	call	_brl_blitz_NullObjectError
_1479:
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1482
	call	_brl_blitz_NullObjectError
_1482:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1484
	call	_brl_blitz_NullObjectError
_1484:
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1485
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1487
	call	_brl_blitz_NullObjectError
_1487:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1489
	call	_brl_blitz_NullObjectError
_1489:
	push	0
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	dword [esi+76]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1490
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1492
	call	_brl_blitz_NullObjectError
_1492:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_1494
	call	_brl_blitz_NullObjectError
_1494:
	push	1
	push	_71
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1496
	call	_brl_blitz_NullObjectError
_1496:
	mov	dword [ebp-76],ebx
	mov	edi,dword [ebp-48]
	cmp	edi,_bbNullObject
	jne	_1499
	call	_brl_blitz_NullObjectError
_1499:
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1501
	call	_brl_blitz_NullObjectError
_1501:
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1503
	call	_brl_blitz_NullObjectError
_1503:
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_1
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-76]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_1507
	push	eax
	call	_bbGCFree
	add	esp,4
_1507:
	mov	eax,dword [ebp-76]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_1465:
	push	_1509
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1511
	call	_brl_blitz_NullObjectError
_1511:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1513
	call	_brl_blitz_NullObjectError
_1513:
	mov	esi,dword [esi+84]
	cmp	esi,_bbNullObject
	jne	_1515
	call	_brl_blitz_NullObjectError
_1515:
	mov	eax,dword [esi+20]
	cmp	dword [ebx+92],eax
	jne	_1516
	mov	eax,ebp
	push	eax
	push	_1559
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1517
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1519
	call	_brl_blitz_NullObjectError
_1519:
	mov	esi,dword [ebx+84]
	cmp	esi,_bbNullObject
	jne	_1521
	call	_brl_blitz_NullObjectError
_1521:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1523
	call	_brl_blitz_NullObjectError
_1523:
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1524
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1526
	call	_brl_blitz_NullObjectError
_1526:
	mov	esi,dword [ebx+88]
	cmp	esi,_bbNullObject
	jne	_1528
	call	_brl_blitz_NullObjectError
_1528:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1530
	call	_brl_blitz_NullObjectError
_1530:
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1531
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1533
	call	_brl_blitz_NullObjectError
_1533:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1535
	call	_brl_blitz_NullObjectError
_1535:
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [esi+8]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1536
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1538
	call	_brl_blitz_NullObjectError
_1538:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1540
	call	_brl_blitz_NullObjectError
_1540:
	call	_brl_eventqueue_EventX
	sub	eax,dword [ebx+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	0
	push	0
	push	dword [esi+76]
	call	_sidesign_minib3d_MoveEntity
	add	esp,16
	push	_1541
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1543
	call	_brl_blitz_NullObjectError
_1543:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_1545
	call	_brl_blitz_NullObjectError
_1545:
	push	1
	push	_71
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1547
	call	_brl_blitz_NullObjectError
_1547:
	mov	dword [ebp-80],ebx
	mov	edi,dword [ebp-48]
	cmp	edi,_bbNullObject
	jne	_1550
	call	_brl_blitz_NullObjectError
_1550:
	mov	esi,dword [ebp-48]
	cmp	esi,_bbNullObject
	jne	_1552
	call	_brl_blitz_NullObjectError
_1552:
	mov	ebx,dword [ebp-48]
	cmp	ebx,_bbNullObject
	jne	_1554
	call	_brl_blitz_NullObjectError
_1554:
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityZ
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [esi+8]
	call	_sidesign_minib3d_EntityY
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_70
	push	1
	push	dword [edi+8]
	call	_sidesign_minib3d_EntityX
	add	esp,8
	sub	esp,4
	fstp	dword [esp]
	call	_bbStringFromFloat
	add	esp,4
	push	eax
	push	_1
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-80]
	mov	eax,dword [eax+12]
	dec	dword [eax+4]
	jnz	_1558
	push	eax
	call	_bbGCFree
	add	esp,4
_1558:
	mov	eax,dword [ebp-80]
	mov	dword [eax+12],ebx
	call	dword [_bbOnDebugLeaveScope]
_1516:
	call	dword [_bbOnDebugLeaveScope]
_1253:
	call	dword [_bbOnDebugLeaveScope]
_1239:
	call	dword [_bbOnDebugLeaveScope]
_1228:
	push	_1563
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1565
	call	_brl_blitz_NullObjectError
_1565:
	call	_brl_eventqueue_EventX
	mov	dword [ebx+44],eax
	push	_1567
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1569
	call	_brl_blitz_NullObjectError
_1569:
	call	_brl_eventqueue_EventY
	mov	dword [ebx+48],eax
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_932:
	mov	eax,ebp
	push	eax
	push	_1578
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1572
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1574
	call	_brl_blitz_NullObjectError
_1574:
	mov	esi,dword [ebx+12]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_1577
	call	_brl_blitz_ArrayBoundsError
_1577:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_RedrawGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_933:
	mov	eax,ebp
	push	eax
	push	_1740
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1579
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1581
	call	_brl_blitz_NullObjectError
_1581:
	mov	esi,dword [ebx+12]
	mov	ebx,0
	cmp	ebx,dword [esi+20]
	jb	_1584
	call	_brl_blitz_ArrayBoundsError
_1584:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_CanvasGraphics
	add	esp,4
	push	eax
	call	_brl_graphics_SetGraphics
	add	esp,4
	push	_1585
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1587
	call	_brl_blitz_NullObjectError
_1587:
	call	_bbMilliSecs
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_3232]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	1132396544
	call	_bbMilliSecs
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,8
	fstp	qword [esp]
	call	_bbSin
	add	esp,8
	fld	qword [_3233]
	fmulp	st1,st0
	sub	esp,8
	fstp	qword [esp]
	call	_bbFloatToInt
	add	esp,8
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [ebx+76]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_1588
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1590
	call	_brl_blitz_NullObjectError
_1590:
	movzx	eax,byte [ebx+53]
	mov	eax,eax
	cmp	eax,0
	jne	_1591
	mov	eax,ebp
	push	eax
	push	_1606
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1592
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1594
	call	_brl_blitz_NullObjectError
_1594:
	mov	dword [ebp-84],ebx
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_1597
	call	_brl_blitz_NullObjectError
_1597:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1599
	call	_brl_blitz_NullObjectError
_1599:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1601
	call	_brl_blitz_NullObjectError
_1601:
	mov	eax,dword [ebx+48]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [esi+44]
	mov	dword [ebp+-112],eax
	fild	dword [ebp+-112]
	sub	esp,4
	fstp	dword [esp]
	push	dword [edi+36]
	call	_sidesign_minib3d_CameraPick
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-84]
	mov	eax,dword [eax+92]
	dec	dword [eax+4]
	jnz	_1605
	push	eax
	call	_bbGCFree
	add	esp,4
_1605:
	mov	eax,dword [ebp-84]
	mov	dword [eax+92],ebx
	call	dword [_bbOnDebugLeaveScope]
_1591:
	push	_1607
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1609
	call	_brl_blitz_NullObjectError
_1609:
	cmp	dword [ebx+92],_bbNullObject
	je	_1610
	mov	eax,ebp
	push	eax
	push	_1737
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1611
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1613
	call	_brl_blitz_NullObjectError
_1613:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1615
	call	_brl_blitz_NullObjectError
_1615:
	mov	esi,dword [esi+84]
	cmp	esi,_bbNullObject
	jne	_1617
	call	_brl_blitz_NullObjectError
_1617:
	mov	eax,dword [esi+12]
	cmp	dword [ebx+92],eax
	jne	_1618
	mov	eax,ebp
	push	eax
	push	_1624
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1619
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1621
	call	_brl_blitz_NullObjectError
_1621:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_1623
	call	_brl_blitz_NullObjectError
_1623:
	push	0
	push	1132396544
	push	1132396544
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1625
_1618:
	mov	eax,ebp
	push	eax
	push	_1631
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1626
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1628
	call	_brl_blitz_NullObjectError
_1628:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_1630
	call	_brl_blitz_NullObjectError
_1630:
	push	0
	push	0
	push	1132396544
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_1625:
	push	_1632
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1634
	call	_brl_blitz_NullObjectError
_1634:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1636
	call	_brl_blitz_NullObjectError
_1636:
	mov	esi,dword [esi+84]
	cmp	esi,_bbNullObject
	jne	_1638
	call	_brl_blitz_NullObjectError
_1638:
	mov	eax,dword [esi+16]
	cmp	dword [ebx+92],eax
	jne	_1639
	mov	eax,ebp
	push	eax
	push	_1645
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1640
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1642
	call	_brl_blitz_NullObjectError
_1642:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_1644
	call	_brl_blitz_NullObjectError
_1644:
	push	0
	push	1132396544
	push	1132396544
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1646
_1639:
	mov	eax,ebp
	push	eax
	push	_1652
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1647
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1649
	call	_brl_blitz_NullObjectError
_1649:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_1651
	call	_brl_blitz_NullObjectError
_1651:
	push	0
	push	1132396544
	push	0
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_1646:
	push	_1653
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1655
	call	_brl_blitz_NullObjectError
_1655:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1657
	call	_brl_blitz_NullObjectError
_1657:
	mov	esi,dword [esi+84]
	cmp	esi,_bbNullObject
	jne	_1659
	call	_brl_blitz_NullObjectError
_1659:
	mov	eax,dword [esi+20]
	cmp	dword [ebx+92],eax
	jne	_1660
	mov	eax,ebp
	push	eax
	push	_1666
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1661
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1663
	call	_brl_blitz_NullObjectError
_1663:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_1665
	call	_brl_blitz_NullObjectError
_1665:
	push	0
	push	1132396544
	push	1132396544
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1667
_1660:
	mov	eax,ebp
	push	eax
	push	_1673
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1668
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1670
	call	_brl_blitz_NullObjectError
_1670:
	mov	ebx,dword [ebx+84]
	cmp	ebx,_bbNullObject
	jne	_1672
	call	_brl_blitz_NullObjectError
_1672:
	push	1132396544
	push	0
	push	0
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_1667:
	push	_1674
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1676
	call	_brl_blitz_NullObjectError
_1676:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1678
	call	_brl_blitz_NullObjectError
_1678:
	mov	esi,dword [esi+88]
	cmp	esi,_bbNullObject
	jne	_1680
	call	_brl_blitz_NullObjectError
_1680:
	mov	eax,dword [esi+12]
	cmp	dword [ebx+92],eax
	jne	_1681
	mov	eax,ebp
	push	eax
	push	_1687
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1682
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1684
	call	_brl_blitz_NullObjectError
_1684:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_1686
	call	_brl_blitz_NullObjectError
_1686:
	push	0
	push	1132396544
	push	1132396544
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1688
_1681:
	mov	eax,ebp
	push	eax
	push	_1694
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1689
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1691
	call	_brl_blitz_NullObjectError
_1691:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_1693
	call	_brl_blitz_NullObjectError
_1693:
	push	0
	push	0
	push	1132396544
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_1688:
	push	_1695
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1697
	call	_brl_blitz_NullObjectError
_1697:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1699
	call	_brl_blitz_NullObjectError
_1699:
	mov	esi,dword [esi+88]
	cmp	esi,_bbNullObject
	jne	_1701
	call	_brl_blitz_NullObjectError
_1701:
	mov	eax,dword [esi+16]
	cmp	dword [ebx+92],eax
	jne	_1702
	mov	eax,ebp
	push	eax
	push	_1708
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1703
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1705
	call	_brl_blitz_NullObjectError
_1705:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_1707
	call	_brl_blitz_NullObjectError
_1707:
	push	0
	push	1132396544
	push	1132396544
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1709
_1702:
	mov	eax,ebp
	push	eax
	push	_1715
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1710
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1712
	call	_brl_blitz_NullObjectError
_1712:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_1714
	call	_brl_blitz_NullObjectError
_1714:
	push	0
	push	1132396544
	push	0
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_1709:
	push	_1716
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1718
	call	_brl_blitz_NullObjectError
_1718:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1720
	call	_brl_blitz_NullObjectError
_1720:
	mov	esi,dword [esi+88]
	cmp	esi,_bbNullObject
	jne	_1722
	call	_brl_blitz_NullObjectError
_1722:
	mov	eax,dword [esi+20]
	cmp	dword [ebx+92],eax
	jne	_1723
	mov	eax,ebp
	push	eax
	push	_1729
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1724
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1726
	call	_brl_blitz_NullObjectError
_1726:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_1728
	call	_brl_blitz_NullObjectError
_1728:
	push	0
	push	1132396544
	push	1132396544
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1730
_1723:
	mov	eax,ebp
	push	eax
	push	_1736
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1731
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1733
	call	_brl_blitz_NullObjectError
_1733:
	mov	ebx,dword [ebx+88]
	cmp	ebx,_bbNullObject
	jne	_1735
	call	_brl_blitz_NullObjectError
_1735:
	push	1132396544
	push	0
	push	0
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	call	dword [_bbOnDebugLeaveScope]
_1730:
	call	dword [_bbOnDebugLeaveScope]
_1610:
	push	_1738
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_sidesign_minib3d_RenderWorld
	push	_1739
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	-1
	call	_brl_graphics_Flip
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_934:
	mov	eax,ebp
	push	eax
	push	_1749
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1741
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_1746
	call	_brl_blitz_NullObjectError
_1746:
	cmp	ebx,dword [esi+8]
	je	_1744
	jmp	_1743
_1744:
	mov	eax,ebp
	push	eax
	push	_1748
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1747
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_bbEnd
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1743
_1743:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_924
_924:
	push	_1750
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1752
	call	_brl_blitz_NullObjectError
_1752:
	mov	ebx,dword [ebx+56]
	cmp	ebx,_bbNullObject
	jne	_1754
	call	_brl_blitz_NullObjectError
_1754:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	push	_1755
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1757
	call	_brl_blitz_NullObjectError
_1757:
	mov	ebx,dword [ebx+60]
	cmp	ebx,_bbNullObject
	jne	_1759
	call	_brl_blitz_NullObjectError
_1759:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	push	_1760
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1762
	call	_brl_blitz_NullObjectError
_1762:
	mov	ebx,dword [ebx+64]
	cmp	ebx,_bbNullObject
	jne	_1764
	call	_brl_blitz_NullObjectError
_1764:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,8
	mov	ebx,0
	jmp	_278
_278:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CedUI_LoadMap:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbEmptyArray
	mov	dword [ebp-24],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_1962
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1766
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_CURRENTMAP]
	dec	dword [eax+4]
	jnz	_1770
	push	eax
	call	_bbGCFree
	add	esp,4
_1770:
	mov	dword [_bb_CURRENTMAP],ebx
	push	_1771
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_CURRENTMAP]
	cmp	ebx,_bbNullObject
	jne	_1773
	call	_brl_blitz_NullObjectError
_1773:
	push	dword [ebp-8]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	push	_1774
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_CURRENTMAP]
	cmp	ebx,_bbNullObject
	jne	_1776
	call	_brl_blitz_NullObjectError
_1776:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1778
	call	_brl_blitz_NullObjectError
_1778:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,4
	cmp	eax,0
	je	_1779
	mov	eax,ebp
	push	eax
	push	_1957
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1780
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_CURRENTMAP]
	cmp	ebx,_bbNullObject
	jne	_1782
	call	_brl_blitz_NullObjectError
_1782:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1784
	call	_brl_blitz_NullObjectError
_1784:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,4
	mov	dword [ebp-12],eax
	push	_1786
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	jmp	_72
_74:
	mov	eax,ebp
	push	eax
	push	_1956
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1787
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1789
	call	_brl_blitz_NullObjectError
_1789:
	push	dword [ebx+8]
	call	_brl_retro_Lower
	add	esp,4
	push	_75
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1792
	jmp	_1791
_1792:
	mov	eax,ebp
	push	eax
	push	_1952
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1793
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MapObject
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_1795
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1797
	call	_brl_blitz_NullObjectError
_1797:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_1802
	push	eax
	call	_bbGCFree
	add	esp,4
_1802:
	mov	dword [esi+12],ebx
	push	_1803
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1805
	call	_brl_blitz_NullObjectError
_1805:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1808
	call	_brl_blitz_NullObjectError
_1808:
	push	1
	push	_76
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1810
	call	_brl_blitz_NullObjectError
_1810:
	mov	ebx,dword [ebx+12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_1814
	push	eax
	call	_bbGCFree
	add	esp,4
_1814:
	mov	dword [esi+16],ebx
	push	_1815
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-16]
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	_1816
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1818
	call	_brl_blitz_NullObjectError
_1818:
	push	1
	push	_77
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1820
	call	_brl_blitz_NullObjectError
_1820:
	push	dword [ebx+12]
	call	_brl_retro_Lower
	add	esp,4
	mov	ebx,eax
	push	_78
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1823
	push	_81
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1824
	push	_82
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1825
	push	_83
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1826
	push	_84
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1827
	push	_85
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1828
	push	_86
	push	ebx
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1829
	jmp	_1822
_1823:
	mov	eax,ebp
	push	eax
	push	_1845
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1830
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1832
	call	_brl_blitz_NullObjectError
_1832:
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_1835
	call	_brl_blitz_NullObjectError
_1835:
	push	1
	push	_80
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_1837
	call	_brl_blitz_NullObjectError
_1837:
	push	_bbNullObject
	push	dword [esi+12]
	push	_79
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadMesh
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_1841
	push	eax
	call	_bbGCFree
	add	esp,4
_1841:
	mov	dword [ebx+8],esi
	push	_1842
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1844
	call	_brl_blitz_NullObjectError
_1844:
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+8]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_FlipMesh
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1822
_1824:
	mov	eax,ebp
	push	eax
	push	_1854
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1846
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1848
	call	_brl_blitz_NullObjectError
_1848:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCube
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1853
	push	eax
	call	_bbGCFree
	add	esp,4
_1853:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1822
_1825:
	mov	eax,ebp
	push	eax
	push	_1863
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1855
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1857
	call	_brl_blitz_NullObjectError
_1857:
	push	_bbNullObject
	push	1
	call	_sidesign_minib3d_CreateLight
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1862
	push	eax
	call	_bbGCFree
	add	esp,4
_1862:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1822
_1826:
	mov	eax,ebp
	push	eax
	push	_1872
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1864
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1866
	call	_brl_blitz_NullObjectError
_1866:
	push	_bbNullObject
	push	2
	call	_sidesign_minib3d_CreateLight
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1871
	push	eax
	call	_bbGCFree
	add	esp,4
_1871:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1822
_1827:
	mov	eax,ebp
	push	eax
	push	_1881
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1873
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1875
	call	_brl_blitz_NullObjectError
_1875:
	push	_bbNullObject
	push	3
	call	_sidesign_minib3d_CreateLight
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1880
	push	eax
	call	_bbGCFree
	add	esp,4
_1880:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1822
_1828:
	mov	eax,ebp
	push	eax
	push	_1890
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1882
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1884
	call	_brl_blitz_NullObjectError
_1884:
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1889
	push	eax
	call	_bbGCFree
	add	esp,4
_1889:
	mov	dword [esi+8],ebx
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1822
_1829:
	mov	eax,ebp
	push	eax
	push	_1905
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1891
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_1893
	call	_brl_blitz_NullObjectError
_1893:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCamera
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_1898
	push	eax
	call	_bbGCFree
	add	esp,4
_1898:
	mov	dword [esi+8],ebx
	push	_1899
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1901
	call	_brl_blitz_NullObjectError
_1901:
	push	240
	push	320
	push	10
	push	10
	push	_sidesign_minib3d_TCamera
	push	dword [ebx+8]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_CameraViewport
	add	esp,20
	push	_1902
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_1904
	call	_brl_blitz_NullObjectError
_1904:
	push	dword [ebx+8]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1822
_1822:
	push	_1906
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1908
	call	_brl_blitz_NullObjectError
_1908:
	push	1
	push	_71
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1910
	call	_brl_blitz_NullObjectError
_1910:
	push	_1
	push	dword [ebx+12]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1911
	mov	eax,ebp
	push	eax
	push	_1927
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1912
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1914
	call	_brl_blitz_NullObjectError
_1914:
	push	1
	push	_71
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1916
	call	_brl_blitz_NullObjectError
_1916:
	push	_70
	push	dword [ebx+12]
	call	_bbStringSplit
	add	esp,8
	mov	dword [ebp-20],eax
	push	_1918
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	mov	dword [ebp-32],eax
	cmp	dword [ebp-32],_bbNullObject
	jne	_1920
	call	_brl_blitz_NullObjectError
_1920:
	mov	edi,0
	mov	eax,dword [ebp-20]
	cmp	edi,dword [eax+20]
	jb	_1922
	call	_brl_blitz_ArrayBoundsError
_1922:
	mov	esi,1
	mov	eax,dword [ebp-20]
	cmp	esi,dword [eax+20]
	jb	_1924
	call	_brl_blitz_ArrayBoundsError
_1924:
	mov	ebx,2
	mov	eax,dword [ebp-20]
	cmp	ebx,dword [eax+20]
	jb	_1926
	call	_brl_blitz_ArrayBoundsError
_1926:
	push	0
	mov	eax,dword [ebp-20]
	push	dword [eax+ebx*4+24]
	call	_bbStringToFloat
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-20]
	push	dword [eax+esi*4+24]
	call	_bbStringToFloat
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-20]
	push	dword [eax+edi*4+24]
	call	_bbStringToFloat
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-32]
	push	dword [eax+8]
	call	_sidesign_minib3d_PositionEntity
	add	esp,20
	call	dword [_bbOnDebugLeaveScope]
_1911:
	push	_1930
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1932
	call	_brl_blitz_NullObjectError
_1932:
	push	1
	push	_69
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1934
	call	_brl_blitz_NullObjectError
_1934:
	push	_1
	push	dword [ebx+12]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_1935
	mov	eax,ebp
	push	eax
	push	_1951
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1936
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1938
	call	_brl_blitz_NullObjectError
_1938:
	push	1
	push	_69
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_1940
	call	_brl_blitz_NullObjectError
_1940:
	push	_70
	push	dword [ebx+12]
	call	_bbStringSplit
	add	esp,8
	mov	dword [ebp-24],eax
	push	_1942
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-16]
	mov	dword [ebp-28],eax
	cmp	dword [ebp-28],_bbNullObject
	jne	_1944
	call	_brl_blitz_NullObjectError
_1944:
	mov	edi,0
	mov	eax,dword [ebp-24]
	cmp	edi,dword [eax+20]
	jb	_1946
	call	_brl_blitz_ArrayBoundsError
_1946:
	mov	esi,1
	mov	eax,dword [ebp-24]
	cmp	esi,dword [eax+20]
	jb	_1948
	call	_brl_blitz_ArrayBoundsError
_1948:
	mov	ebx,2
	mov	eax,dword [ebp-24]
	cmp	ebx,dword [eax+20]
	jb	_1950
	call	_brl_blitz_ArrayBoundsError
_1950:
	push	0
	mov	eax,dword [ebp-24]
	push	dword [eax+ebx*4+24]
	call	_bbStringToFloat
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	push	dword [eax+esi*4+24]
	call	_bbStringToFloat
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-24]
	push	dword [eax+edi*4+24]
	call	_bbStringToFloat
	add	esp,4
	sub	esp,4
	fstp	dword [esp]
	mov	eax,dword [ebp-28]
	push	dword [eax+8]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	call	dword [_bbOnDebugLeaveScope]
_1935:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_1791
_1791:
	push	_1953
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1955
	call	_brl_blitz_NullObjectError
_1955:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+132]
	add	esp,4
	mov	dword [ebp-12],eax
	call	dword [_bbOnDebugLeaveScope]
_72:
	cmp	dword [ebp-12],_bbNullObject
	jne	_74
_73:
	call	dword [_bbOnDebugLeaveScope]
_1779:
	push	_1959
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1961
	call	_brl_blitz_NullObjectError
_1961:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,0
	jmp	_282
_282:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CedUI_NewMap:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	dword [ebp-12],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2003
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1964
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_87
	call	_brl_system_Confirm
	add	esp,8
	mov	dword [ebp-8],eax
	push	_1966
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],0
	jne	_1967
	mov	eax,ebp
	push	eax
	push	_1969
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1968
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_285
_1967:
	push	_1970
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_bbNullObject
	mov	edi,dword [_bb_MapObjects]
	mov	ebx,edi
	cmp	ebx,_bbNullObject
	jne	_1974
	call	_brl_blitz_NullObjectError
_1974:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+140]
	add	esp,4
	mov	esi,eax
	jmp	_88
_90:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_1979
	call	_brl_blitz_NullObjectError
_1979:
	push	_bb_MapObject
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	cmp	dword [ebp-12],_bbNullObject
	je	_88
	mov	eax,ebp
	push	eax
	push	_1983
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_1980
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_1982
	call	_brl_blitz_NullObjectError
_1982:
	push	dword [ebx+8]
	call	_sidesign_minib3d_FreeEntity
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_88:
	mov	ebx,esi
	cmp	ebx,_bbNullObject
	jne	_1977
	call	_brl_blitz_NullObjectError
_1977:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,4
	cmp	eax,0
	jne	_90
_89:
	push	_1984
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_ClearList
	add	esp,4
	push	_1985
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_1987
	call	_brl_blitz_NullObjectError
_1987:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	push	_1988
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [_bb_CURRENTMAP]
	dec	dword [eax+4]
	jnz	_1992
	push	eax
	call	_bbGCFree
	add	esp,4
_1992:
	mov	dword [_bb_CURRENTMAP],ebx
	push	_1993
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_CURRENTMAP]
	cmp	ebx,_bbNullObject
	jne	_1995
	call	_brl_blitz_NullObjectError
_1995:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_1997
	call	_brl_blitz_NullObjectError
_1997:
	mov	ebx,_91
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2002
	push	eax
	call	_bbGCFree
	add	esp,4
_2002:
	mov	dword [esi+8],ebx
	mov	ebx,0
	jmp	_285
_285:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGObjs_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2006
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_CUI_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_CGObjs
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	push	ebp
	push	_2005
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_288
_288:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGObjs_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_291:
	mov	dword [eax],_bb_CUI
	push	eax
	call	__bb_CUI_Delete
	add	esp,4
	mov	eax,0
	jmp	_2007
_2007:
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGObjs_init:
	push	ebp
	mov	ebp,esp
	sub	esp,32
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_2124
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2008
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	_2010
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	push	_2012
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2014
	call	_brl_blitz_NullObjectError
_2014:
	push	529
	push	_bbNullObject
	push	512
	push	256
	push	10
	push	10
	push	_50
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2019
	push	eax
	call	_bbGCFree
	add	esp,4
_2019:
	mov	dword [esi+8],ebx
	push	_2020
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2022
	call	_brl_blitz_ArrayBoundsError
_2022:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2025
	call	_brl_blitz_NullObjectError
_2025:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2027
	call	_brl_blitz_NullObjectError
_2027:
	push	0
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,10
	push	eax
	push	5
	push	5
	push	_92
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_2031
	push	eax
	call	_bbGCFree
	add	esp,4
_2031:
	mov	dword [edi+24],ebx
	push	_2032
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2034
	call	_brl_blitz_NullObjectError
_2034:
	mov	esi,0
	mov	eax,dword [ebp-12]
	cmp	esi,dword [eax+20]
	jb	_2037
	call	_brl_blitz_ArrayBoundsError
_2037:
	mov	eax,dword [ebp-12]
	push	dword [eax+esi*4+24]
	call	_maxgui_maxgui_GadgetHeight
	add	esp,4
	add	eax,5
	mov	dword [ebx+24],eax
	push	_2038
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2040
	call	_brl_blitz_ArrayBoundsError
_2040:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-16],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2043
	call	_brl_blitz_NullObjectError
_2043:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2045
	call	_brl_blitz_NullObjectError
_2045:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2047
	call	_brl_blitz_NullObjectError
_2047:
	push	0
	push	dword [ebx+8]
	push	200
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,10
	push	eax
	push	dword [edi+24]
	push	5
	call	_maxgui_maxgui_CreateListBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2051
	push	eax
	call	_bbGCFree
	add	esp,4
_2051:
	mov	eax,dword [ebp-16]
	mov	dword [eax+24],ebx
	push	_2052
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2054
	call	_brl_blitz_NullObjectError
_2054:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2057
	call	_brl_blitz_NullObjectError
_2057:
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2059
	call	_brl_blitz_ArrayBoundsError
_2059:
	mov	eax,dword [esi+24]
	add	eax,5
	mov	esi,eax
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_GadgetHeight
	add	esp,4
	add	esi,eax
	mov	dword [edi+24],esi
	push	_2060
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2062
	call	_brl_blitz_ArrayBoundsError
_2062:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-20],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2065
	call	_brl_blitz_NullObjectError
_2065:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2067
	call	_brl_blitz_NullObjectError
_2067:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2069
	call	_brl_blitz_NullObjectError
_2069:
	push	8
	push	dword [ebx+8]
	push	30
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	eax,3
	push	eax
	push	dword [edi+24]
	push	5
	push	_93
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2073
	push	eax
	call	_bbGCFree
	add	esp,4
_2073:
	mov	eax,dword [ebp-20]
	mov	dword [eax+24],ebx
	push	_2074
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,3
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2076
	call	_brl_blitz_ArrayBoundsError
_2076:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-32],eax
	mov	eax,dword [ebp-4]
	mov	dword [ebp-28],eax
	cmp	dword [ebp-28],_bbNullObject
	jne	_2079
	call	_brl_blitz_NullObjectError
_2079:
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2081
	call	_brl_blitz_NullObjectError
_2081:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2083
	call	_brl_blitz_NullObjectError
_2083:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2085
	call	_brl_blitz_NullObjectError
_2085:
	push	8
	push	dword [ebx+8]
	push	30
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	sub	eax,3
	push	eax
	push	dword [edi+24]
	mov	eax,dword [ebp-28]
	push	dword [eax+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	cdq
	and	edx,1
	add	eax,edx
	sar	eax,1
	add	eax,5
	push	eax
	push	_94
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-32]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2089
	push	eax
	call	_bbGCFree
	add	esp,4
_2089:
	mov	eax,dword [ebp-32]
	mov	dword [eax+24],ebx
	push	_2090
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2092
	call	_brl_blitz_NullObjectError
_2092:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2095
	call	_brl_blitz_NullObjectError
_2095:
	mov	ebx,3
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2097
	call	_brl_blitz_ArrayBoundsError
_2097:
	mov	eax,dword [esi+24]
	add	eax,5
	mov	esi,eax
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_GadgetHeight
	add	esp,4
	add	esi,eax
	mov	dword [edi+24],esi
	push	_2098
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,4
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2100
	call	_brl_blitz_ArrayBoundsError
_2100:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-24],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2103
	call	_brl_blitz_NullObjectError
_2103:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2105
	call	_brl_blitz_NullObjectError
_2105:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2107
	call	_brl_blitz_NullObjectError
_2107:
	push	8
	push	dword [ebx+8]
	push	30
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,5
	push	eax
	push	dword [edi+24]
	push	5
	push	_95
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-24]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2111
	push	eax
	call	_bbGCFree
	add	esp,4
_2111:
	mov	eax,dword [ebp-24]
	mov	dword [eax+24],ebx
	push	_2112
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2114
	call	_brl_blitz_NullObjectError
_2114:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2119
	push	eax
	call	_bbGCFree
	add	esp,4
_2119:
	mov	dword [esi+12],ebx
	push	_2120
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2122
	call	_brl_blitz_NullObjectError
_2122:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	push	_2123
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	__bb_CUI_Init
	add	esp,8
	mov	ebx,0
	jmp	_295
_295:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGObjs_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyString
	mov	dword [ebp-16],_bbEmptyString
	mov	dword [ebp-20],0
	mov	eax,ebp
	push	eax
	push	_2198
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2125
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,8193
	je	_2128
	cmp	eax,16387
	je	_2129
	jmp	_2127
_2128:
	mov	eax,ebp
	push	eax
	push	_2180
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2130
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	edi,eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2135
	call	_brl_blitz_NullObjectError
_2135:
	mov	esi,dword [ebx+12]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_2138
	call	_brl_blitz_ArrayBoundsError
_2138:
	cmp	edi,dword [esi+ebx*4+24]
	je	_2133
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2141
	call	_brl_blitz_NullObjectError
_2141:
	mov	esi,dword [ebx+12]
	mov	ebx,4
	cmp	ebx,dword [esi+20]
	jb	_2144
	call	_brl_blitz_ArrayBoundsError
_2144:
	cmp	edi,dword [esi+ebx*4+24]
	je	_2139
	jmp	_2132
_2133:
	mov	eax,ebp
	push	eax
	push	_2162
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2145
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	dword [ebp-12],_96
	push	_2147
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	0
	push	dword [ebp-12]
	push	_97
	call	_brl_system_RequestFile
	add	esp,16
	mov	dword [ebp-16],eax
	push	_2149
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-16]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_2150
	mov	eax,ebp
	push	eax
	push	_2161
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2151
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2153
	call	_brl_blitz_NullObjectError
_2153:
	push	dword [ebp-16]
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+64]
	add	esp,8
	mov	dword [ebp-20],eax
	push	_2155
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-20],1
	jne	_2156
	mov	eax,ebp
	push	eax
	push	_2160
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2157
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2159
	call	_brl_blitz_NullObjectError
_2159:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2156:
	call	dword [_bbOnDebugLeaveScope]
_2150:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2132
_2139:
	mov	eax,ebp
	push	eax
	push	_2179
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2163
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2165
	call	_brl_blitz_NullObjectError
_2165:
	mov	esi,dword [ebx+12]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2168
	call	_brl_blitz_ArrayBoundsError
_2168:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	cmp	eax,-1
	je	_2169
	mov	eax,ebp
	push	eax
	push	_2178
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2170
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2172
	call	_brl_blitz_NullObjectError
_2172:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2174
	call	_brl_blitz_NullObjectError
_2174:
	mov	esi,dword [ebx+12]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2177
	call	_brl_blitz_ArrayBoundsError
_2177:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+56]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2169:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2132
_2132:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2127
_2129:
	mov	eax,ebp
	push	eax
	push	_2196
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2181
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2186
	call	_brl_blitz_NullObjectError
_2186:
	cmp	ebx,dword [esi+8]
	je	_2184
	jmp	_2183
_2184:
	mov	eax,ebp
	push	eax
	push	_2195
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2187
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2189
	call	_brl_blitz_NullObjectError
_2189:
	cmp	dword [ebx+16],_bbNullObject
	je	_2190
	mov	eax,ebp
	push	eax
	push	_2191
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2190:
	push	_2192
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2194
	call	_brl_blitz_NullObjectError
_2194:
	push	dword [ebx+8]
	call	_maxgui_maxgui_HideGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2183
_2183:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2127
_2127:
	push	_2197
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	__bb_CUI_Update
	add	esp,8
	mov	ebx,0
	jmp	_299
_299:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGObjs_AddtoMap:
	push	ebp
	mov	ebp,esp
	sub	esp,28
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	mov	dword [ebp-24],_bbEmptyString
	mov	dword [ebp-28],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2296
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2199
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2201
	call	_brl_blitz_NullObjectError
_2201:
	mov	esi,dword [ebx+12]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2204
	call	_brl_blitz_ArrayBoundsError
_2204:
	push	_pub_maxml_xmlDocument
	push	dword [ebp-8]
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_GadgetItemExtra
	add	esp,8
	push	eax
	call	_bbObjectDowncast
	add	esp,8
	mov	dword [ebp-12],eax
	push	_2206
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-12],_bbNullObject
	jne	_2207
	mov	eax,ebp
	push	eax
	push	_2209
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2208
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_303
_2207:
	push	_2210
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2212
	call	_brl_blitz_NullObjectError
_2212:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-16],eax
	push	_2214
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2216
	call	_brl_blitz_NullObjectError
_2216:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+84]
	add	esp,4
	cmp	eax,0
	je	_2217
	mov	eax,ebp
	push	eax
	push	_2291
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2218
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2220
	call	_brl_blitz_NullObjectError
_2220:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+88]
	add	esp,4
	mov	dword [ebp-20],eax
	push	_2222
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2224
	call	_brl_blitz_NullObjectError
_2224:
	push	dword [ebx+8]
	call	_brl_retro_Lower
	add	esp,4
	push	_75
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	je	_2227
	jmp	_2226
_2227:
	mov	eax,ebp
	push	eax
	push	_2289
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2228
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2230
	call	_brl_blitz_NullObjectError
_2230:
	push	1
	push	_80
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_2232
	call	_brl_blitz_NullObjectError
_2232:
	mov	eax,dword [ebx+12]
	mov	dword [ebp-24],eax
	push	_2234
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-24]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2235
	mov	eax,ebp
	push	eax
	push	_2237
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2236
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_303
_2235:
	push	_2238
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MapObject
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-28],eax
	push	_2240
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2242
	call	_brl_blitz_NullObjectError
_2242:
	push	_bbNullObject
	push	dword [ebp-24]
	push	_79
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_sidesign_minib3d_LoadMesh
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2247
	push	eax
	call	_bbGCFree
	add	esp,4
_2247:
	mov	dword [ebx+8],esi
	push	_2248
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2250
	call	_brl_blitz_NullObjectError
_2250:
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+8]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_FlipMesh
	add	esp,4
	push	_2251
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2253
	call	_brl_blitz_NullObjectError
_2253:
	mov	edi,ebx
	mov	esi,dword [ebp-20]
	cmp	esi,_bbNullObject
	jne	_2256
	call	_brl_blitz_NullObjectError
_2256:
	mov	ebx,dword [_bb_CURRENTMAP]
	cmp	ebx,_bbNullObject
	jne	_2258
	call	_brl_blitz_NullObjectError
_2258:
	push	1
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	push	eax
	push	esi
	mov	eax,dword [esi]
	call	dword [eax+56]
	add	esp,12
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+12]
	dec	dword [eax+4]
	jnz	_2262
	push	eax
	call	_bbGCFree
	add	esp,4
_2262:
	mov	dword [edi+12],ebx
	push	_2263
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2265
	call	_brl_blitz_NullObjectError
_2265:
	mov	ebx,dword [ebx+12]
	cmp	ebx,_bbNullObject
	jne	_2267
	call	_brl_blitz_NullObjectError
_2267:
	push	1
	push	_77
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2269
	call	_brl_blitz_NullObjectError
_2269:
	mov	ebx,_78
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2274
	push	eax
	call	_bbGCFree
	add	esp,4
_2274:
	mov	dword [esi+12],ebx
	push	_2275
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-28]
	cmp	ebx,_bbNullObject
	jne	_2277
	call	_brl_blitz_NullObjectError
_2277:
	push	dword [ebp-24]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	call	_brl_filesystem_StripExt
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2282
	push	eax
	call	_bbGCFree
	add	esp,4
_2282:
	mov	dword [ebx+16],esi
	push	_2283
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-28]
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	_2284
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEditor]
	cmp	ebx,_bbNullObject
	jne	_2286
	call	_brl_blitz_NullObjectError
_2286:
	mov	ebx,dword [ebx+8]
	cmp	ebx,_bbNullObject
	jne	_2288
	call	_brl_blitz_NullObjectError
_2288:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2226
_2226:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2293
_2217:
	mov	eax,ebp
	push	eax
	push	_2295
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2294
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_303
_2293:
	mov	ebx,0
	jmp	_303
_303:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGObjs_RefreshObjects:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],0
	mov	dword [ebp-12],_bbEmptyString
	mov	dword [ebp-16],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2342
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2300
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2302
	call	_brl_blitz_NullObjectError
_2302:
	mov	esi,dword [ebx+12]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2305
	call	_brl_blitz_ArrayBoundsError
_2305:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_ClearGadgetItems
	add	esp,4
	push	_2306
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_98
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_ReadDir
	add	esp,4
	mov	dword [ebp-8],eax
	push	_2308
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	cmp	dword [ebp-8],0
	jne	_2309
	mov	eax,ebp
	push	eax
	push	_2311
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2310
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_99
	call	_brl_blitz_RuntimeError
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
_2309:
	push	_2312
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
_102:
_100:
	mov	eax,ebp
	push	eax
	push	_2339
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2313
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_NextFile
	add	esp,4
	mov	dword [ebp-12],eax
	push	_2315
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-12]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2316
	mov	eax,ebp
	push	eax
	push	_2318
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2317
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_101
_2316:
	push	_2319
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_103
	push	dword [ebp-12]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
	cmp	eax,0
	jne	_2320
	push	_104
	push	dword [ebp-12]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	sete	al
	movzx	eax,al
_2320:
	cmp	eax,0
	je	_2322
	mov	eax,ebp
	push	eax
	push	_2324
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2323
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_100
_2322:
	push	_2325
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_105
	push	dword [ebp-12]
	call	_brl_filesystem_ExtractExt
	add	esp,4
	push	eax
	call	_brl_retro_Lower
	add	esp,4
	push	eax
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2326
	mov	eax,ebp
	push	eax
	push	_2338
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2327
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-16],eax
	push	_2329
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2331
	call	_brl_blitz_NullObjectError
_2331:
	push	dword [ebp-12]
	push	_79
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+56]
	add	esp,8
	push	_2332
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2334
	call	_brl_blitz_NullObjectError
_2334:
	mov	esi,dword [ebx+12]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2337
	call	_brl_blitz_ArrayBoundsError
_2337:
	push	dword [ebp-16]
	push	_1
	push	-1
	push	0
	push	dword [ebp-12]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	call	_brl_filesystem_StripExt
	add	esp,4
	push	eax
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	call	dword [_bbOnDebugLeaveScope]
_2326:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_102
_101:
	push	_2341
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_CloseDir
	add	esp,4
	mov	ebx,0
	jmp	_306
_306:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGObjs_AddObject:
	push	ebp
	mov	ebp,esp
	sub	esp,24
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-24],0
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	dword [ebp-20],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2407
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2344
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_1
	push	dword [ebp-8]
	call	_bbStringCompare
	add	esp,8
	cmp	eax,0
	jne	_2345
	mov	eax,ebp
	push	eax
	push	_2347
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2346
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	jmp	_310
_2345:
	push	_2348
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_79
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_filesystem_FileType
	add	esp,4
	cmp	eax,1
	jne	_2349
	mov	eax,ebp
	push	eax
	push	_2361
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2350
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	0
	push	_106
	push	dword [ebp-8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_brl_system_Confirm
	add	esp,8
	mov	dword [ebp-24],eax
	push	_2352
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-24]
	cmp	eax,0
	je	_2355
	cmp	eax,1
	je	_2356
	jmp	_2354
_2355:
	mov	eax,ebp
	push	eax
	push	_2358
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2357
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	call	dword [_bbOnDebugLeaveScope]
	call	dword [_bbOnDebugLeaveScope]
	jmp	_310
_2356:
	mov	eax,ebp
	push	eax
	push	_2360
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2359
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_79
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-8]
	call	_brl_filesystem_CopyFile
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2354
_2354:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2362
_2349:
	mov	eax,ebp
	push	eax
	push	_2364
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2363
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	push	_79
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	dword [ebp-8]
	call	_brl_filesystem_CopyFile
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2362:
	push	_2365
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_pub_maxml_xmlDocument
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	push	_2367
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2369
	call	_brl_blitz_NullObjectError
_2369:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	dword [ebp-16],eax
	push	_2371
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-16]
	cmp	esi,_bbNullObject
	jne	_2373
	call	_brl_blitz_NullObjectError
_2373:
	mov	ebx,_107
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2378
	push	eax
	call	_bbGCFree
	add	esp,4
_2378:
	mov	dword [esi+8],ebx
	push	_2379
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2381
	call	_brl_blitz_NullObjectError
_2381:
	push	1
	push	_108
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-20],eax
	push	_2383
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2385
	call	_brl_blitz_NullObjectError
_2385:
	push	1
	push	_80
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2387
	call	_brl_blitz_NullObjectError
_2387:
	push	dword [ebp-8]
	call	_brl_filesystem_StripDir
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2392
	push	eax
	call	_bbGCFree
	add	esp,4
_2392:
	mov	dword [esi+12],ebx
	push	_2393
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-20]
	cmp	ebx,_bbNullObject
	jne	_2395
	call	_brl_blitz_NullObjectError
_2395:
	push	1
	push	_76
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_2397
	call	_brl_blitz_NullObjectError
_2397:
	push	dword [ebp-8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	call	_brl_filesystem_StripExt
	add	esp,4
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2402
	push	eax
	call	_bbGCFree
	add	esp,4
_2402:
	mov	dword [ebx+12],esi
	push	_2403
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2405
	call	_brl_blitz_NullObjectError
_2405:
	push	1
	push	_109
	push	dword [ebp-8]
	call	_brl_filesystem_StripDir
	add	esp,4
	push	eax
	call	_brl_filesystem_StripExt
	add	esp,4
	push	eax
	push	_79
	push	dword [_bb_WorkingDir]
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	call	_bbStringConcat
	add	esp,8
	push	eax
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,12
	push	_2406
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	jmp	_310
_310:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGNodes_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2409
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_CUI_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_CGNodes
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],0
	push	ebp
	push	_2408
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_313
_313:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGNodes_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_316:
	mov	dword [eax],_bb_CUI
	push	eax
	call	__bb_CUI_Delete
	add	esp,4
	mov	eax,0
	jmp	_2410
_2410:
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGNodes_init:
	push	ebp
	mov	ebp,esp
	sub	esp,20
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_2507
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2411
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	_2413
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	push	_2415
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2417
	call	_brl_blitz_NullObjectError
_2417:
	push	529
	push	_bbNullObject
	push	512
	push	256
	push	10
	push	10
	push	_51
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2422
	push	eax
	call	_bbGCFree
	add	esp,4
_2422:
	mov	dword [esi+8],ebx
	push	_2423
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2425
	call	_brl_blitz_ArrayBoundsError
_2425:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2428
	call	_brl_blitz_NullObjectError
_2428:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2430
	call	_brl_blitz_NullObjectError
_2430:
	push	0
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,10
	push	eax
	push	5
	push	5
	push	_110
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_2434
	push	eax
	call	_bbGCFree
	add	esp,4
_2434:
	mov	dword [edi+24],ebx
	push	_2435
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2437
	call	_brl_blitz_NullObjectError
_2437:
	mov	esi,0
	mov	eax,dword [ebp-12]
	cmp	esi,dword [eax+20]
	jb	_2440
	call	_brl_blitz_ArrayBoundsError
_2440:
	mov	eax,dword [ebp-12]
	push	dword [eax+esi*4+24]
	call	_maxgui_maxgui_GadgetHeight
	add	esp,4
	add	eax,5
	mov	dword [ebx+24],eax
	push	_2441
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2443
	call	_brl_blitz_ArrayBoundsError
_2443:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-16],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2446
	call	_brl_blitz_NullObjectError
_2446:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2448
	call	_brl_blitz_NullObjectError
_2448:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2450
	call	_brl_blitz_NullObjectError
_2450:
	push	0
	push	dword [ebx+8]
	push	25
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,10
	push	eax
	push	dword [edi+24]
	push	5
	call	_maxgui_maxgui_CreateComboBox
	add	esp,24
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-16]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2454
	push	eax
	call	_bbGCFree
	add	esp,4
_2454:
	mov	eax,dword [ebp-16]
	mov	dword [eax+24],ebx
	push	_2455
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2457
	call	_brl_blitz_NullObjectError
_2457:
	mov	edi,ebx
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2460
	call	_brl_blitz_NullObjectError
_2460:
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2462
	call	_brl_blitz_ArrayBoundsError
_2462:
	mov	eax,dword [esi+24]
	add	eax,5
	mov	esi,eax
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_GadgetHeight
	add	esp,4
	add	esi,eax
	mov	dword [edi+24],esi
	push	_2463
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,2
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2465
	call	_brl_blitz_ArrayBoundsError
_2465:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	dword [ebp-20],eax
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2468
	call	_brl_blitz_NullObjectError
_2468:
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2470
	call	_brl_blitz_NullObjectError
_2470:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2472
	call	_brl_blitz_NullObjectError
_2472:
	push	8
	push	dword [ebx+8]
	push	30
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,5
	push	eax
	push	dword [edi+24]
	push	5
	push	_95
	call	_maxgui_maxgui_CreateButton
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [ebp-20]
	mov	eax,dword [eax+24]
	dec	dword [eax+4]
	jnz	_2476
	push	eax
	call	_bbGCFree
	add	esp,4
_2476:
	mov	eax,dword [ebp-20]
	mov	dword [eax+24],ebx
	push	_2477
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2479
	call	_brl_blitz_ArrayBoundsError
_2479:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_111
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2480
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2482
	call	_brl_blitz_ArrayBoundsError
_2482:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_112
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2483
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2485
	call	_brl_blitz_ArrayBoundsError
_2485:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_113
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2486
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2488
	call	_brl_blitz_ArrayBoundsError
_2488:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_114
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2489
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2491
	call	_brl_blitz_ArrayBoundsError
_2491:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_115
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2492
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2494
	call	_brl_blitz_ArrayBoundsError
_2494:
	push	_bbNullObject
	push	_1
	push	-1
	push	0
	push	_116
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_AddGadgetItem
	add	esp,24
	push	_2495
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,1
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2497
	call	_brl_blitz_ArrayBoundsError
_2497:
	push	0
	mov	eax,dword [ebp-12]
	push	dword [eax+ebx*4+24]
	call	_maxgui_maxgui_SelectGadgetItem
	add	esp,8
	push	_2498
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2500
	call	_brl_blitz_NullObjectError
_2500:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2505
	push	eax
	call	_bbGCFree
	add	esp,4
_2505:
	mov	dword [esi+12],ebx
	push	_2506
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	__bb_CUI_Init
	add	esp,8
	mov	ebx,0
	jmp	_320
_320:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGNodes_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	eax,ebp
	push	eax
	push	_2557
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2508
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,8193
	je	_2511
	cmp	eax,16387
	je	_2512
	jmp	_2510
_2511:
	mov	eax,ebp
	push	eax
	push	_2539
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2513
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	edi,eax
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2518
	call	_brl_blitz_NullObjectError
_2518:
	mov	esi,dword [ebx+12]
	mov	ebx,2
	cmp	ebx,dword [esi+20]
	jb	_2521
	call	_brl_blitz_ArrayBoundsError
_2521:
	cmp	edi,dword [esi+ebx*4+24]
	je	_2516
	jmp	_2515
_2516:
	mov	eax,ebp
	push	eax
	push	_2538
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2522
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2524
	call	_brl_blitz_NullObjectError
_2524:
	mov	esi,dword [ebx+12]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2527
	call	_brl_blitz_ArrayBoundsError
_2527:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	cmp	eax,-1
	je	_2528
	mov	eax,ebp
	push	eax
	push	_2537
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2529
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	edi,dword [ebp-4]
	cmp	edi,_bbNullObject
	jne	_2531
	call	_brl_blitz_NullObjectError
_2531:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2533
	call	_brl_blitz_NullObjectError
_2533:
	mov	esi,dword [ebx+12]
	mov	ebx,1
	cmp	ebx,dword [esi+20]
	jb	_2536
	call	_brl_blitz_ArrayBoundsError
_2536:
	push	dword [esi+ebx*4+24]
	call	_maxgui_maxgui_SelectedGadgetItem
	add	esp,4
	push	eax
	push	edi
	mov	eax,dword [edi]
	call	dword [eax+56]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2528:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2515
_2515:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2510
_2512:
	mov	eax,ebp
	push	eax
	push	_2555
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2540
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	call	_brl_eventqueue_EventSource
	mov	ebx,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2545
	call	_brl_blitz_NullObjectError
_2545:
	cmp	ebx,dword [esi+8]
	je	_2543
	jmp	_2542
_2543:
	mov	eax,ebp
	push	eax
	push	_2554
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2546
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2548
	call	_brl_blitz_NullObjectError
_2548:
	cmp	dword [ebx+16],_bbNullObject
	je	_2549
	mov	eax,ebp
	push	eax
	push	_2550
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
_2549:
	push	_2551
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2553
	call	_brl_blitz_NullObjectError
_2553:
	push	dword [ebx+8]
	call	_maxgui_maxgui_HideGadget
	add	esp,4
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2542
_2542:
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2510
_2510:
	push	_2556
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-8]
	push	dword [ebp-4]
	call	__bb_CUI_Update
	add	esp,8
	mov	ebx,0
	jmp	_324
_324:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_CGNodes_AddtoMap:
	push	ebp
	mov	ebp,esp
	sub	esp,16
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbNullObject
	mov	dword [ebp-16],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2769
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2558
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	_bb_MapObject
	call	_bbObjectNew
	add	esp,4
	mov	dword [ebp-12],eax
	push	_2560
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_CURRENTMAP]
	cmp	ebx,_bbNullObject
	jne	_2562
	call	_brl_blitz_NullObjectError
_2562:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+52]
	add	esp,4
	mov	ebx,eax
	cmp	ebx,_bbNullObject
	jne	_2564
	call	_brl_blitz_NullObjectError
_2564:
	push	1
	push	_108
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+48]
	add	esp,12
	mov	dword [ebp-16],eax
	push	_2566
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_2568
	call	_brl_blitz_NullObjectError
_2568:
	mov	ebx,dword [ebp-16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2573
	push	eax
	call	_bbGCFree
	add	esp,4
_2573:
	mov	dword [esi+12],ebx
	push	_2574
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-12]
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_ListAddLast
	add	esp,8
	push	_2575
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	eax,dword [ebp-8]
	cmp	eax,0
	je	_2578
	cmp	eax,1
	je	_2579
	cmp	eax,2
	je	_2580
	cmp	eax,3
	je	_2581
	cmp	eax,4
	je	_2582
	cmp	eax,5
	je	_2583
	jmp	_2577
_2578:
	mov	eax,ebp
	push	eax
	push	_2610
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2584
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_2586
	call	_brl_blitz_NullObjectError
_2586:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCube
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2591
	push	eax
	call	_bbGCFree
	add	esp,4
_2591:
	mov	dword [esi+8],ebx
	push	_2592
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2594
	call	_brl_blitz_NullObjectError
_2594:
	push	1
	push	_77
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2596
	call	_brl_blitz_NullObjectError
_2596:
	mov	ebx,_81
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2601
	push	eax
	call	_bbGCFree
	add	esp,4
_2601:
	mov	dword [esi+12],ebx
	push	_2602
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2604
	call	_brl_blitz_NullObjectError
_2604:
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_CountList
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_117
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2609
	push	eax
	call	_bbGCFree
	add	esp,4
_2609:
	mov	dword [ebx+16],esi
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2577
_2579:
	mov	eax,ebp
	push	eax
	push	_2637
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2611
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_2613
	call	_brl_blitz_NullObjectError
_2613:
	push	_bbNullObject
	push	1
	call	_sidesign_minib3d_CreateLight
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2618
	push	eax
	call	_bbGCFree
	add	esp,4
_2618:
	mov	dword [esi+8],ebx
	push	_2619
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2621
	call	_brl_blitz_NullObjectError
_2621:
	push	1
	push	_77
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2623
	call	_brl_blitz_NullObjectError
_2623:
	mov	ebx,_82
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2628
	push	eax
	call	_bbGCFree
	add	esp,4
_2628:
	mov	dword [esi+12],ebx
	push	_2629
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2631
	call	_brl_blitz_NullObjectError
_2631:
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_CountList
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_118
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2636
	push	eax
	call	_bbGCFree
	add	esp,4
_2636:
	mov	dword [ebx+16],esi
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2577
_2580:
	mov	eax,ebp
	push	eax
	push	_2664
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2638
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_2640
	call	_brl_blitz_NullObjectError
_2640:
	push	_bbNullObject
	push	2
	call	_sidesign_minib3d_CreateLight
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2645
	push	eax
	call	_bbGCFree
	add	esp,4
_2645:
	mov	dword [esi+8],ebx
	push	_2646
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2648
	call	_brl_blitz_NullObjectError
_2648:
	push	1
	push	_77
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2650
	call	_brl_blitz_NullObjectError
_2650:
	mov	ebx,_83
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2655
	push	eax
	call	_bbGCFree
	add	esp,4
_2655:
	mov	dword [esi+12],ebx
	push	_2656
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2658
	call	_brl_blitz_NullObjectError
_2658:
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_CountList
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_119
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2663
	push	eax
	call	_bbGCFree
	add	esp,4
_2663:
	mov	dword [ebx+16],esi
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2577
_2581:
	mov	eax,ebp
	push	eax
	push	_2691
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2665
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_2667
	call	_brl_blitz_NullObjectError
_2667:
	push	_bbNullObject
	push	3
	call	_sidesign_minib3d_CreateLight
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2672
	push	eax
	call	_bbGCFree
	add	esp,4
_2672:
	mov	dword [esi+8],ebx
	push	_2673
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2675
	call	_brl_blitz_NullObjectError
_2675:
	push	1
	push	_77
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2677
	call	_brl_blitz_NullObjectError
_2677:
	mov	ebx,_84
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2682
	push	eax
	call	_bbGCFree
	add	esp,4
_2682:
	mov	dword [esi+12],ebx
	push	_2683
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2685
	call	_brl_blitz_NullObjectError
_2685:
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_CountList
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_120
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2690
	push	eax
	call	_bbGCFree
	add	esp,4
_2690:
	mov	dword [ebx+16],esi
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2577
_2582:
	mov	eax,ebp
	push	eax
	push	_2718
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2692
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_2694
	call	_brl_blitz_NullObjectError
_2694:
	push	_bbNullObject
	call	_sidesign_minib3d_CreatePivot
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2699
	push	eax
	call	_bbGCFree
	add	esp,4
_2699:
	mov	dword [esi+8],ebx
	push	_2700
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2702
	call	_brl_blitz_NullObjectError
_2702:
	push	1
	push	_77
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2704
	call	_brl_blitz_NullObjectError
_2704:
	mov	ebx,_85
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2709
	push	eax
	call	_bbGCFree
	add	esp,4
_2709:
	mov	dword [esi+12],ebx
	push	_2710
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2712
	call	_brl_blitz_NullObjectError
_2712:
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_CountList
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_121
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2717
	push	eax
	call	_bbGCFree
	add	esp,4
_2717:
	mov	dword [ebx+16],esi
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2577
_2583:
	mov	eax,ebp
	push	eax
	push	_2751
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2719
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-12]
	cmp	esi,_bbNullObject
	jne	_2721
	call	_brl_blitz_NullObjectError
_2721:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCamera
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2726
	push	eax
	call	_bbGCFree
	add	esp,4
_2726:
	mov	dword [esi+8],ebx
	push	_2727
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2729
	call	_brl_blitz_NullObjectError
_2729:
	push	240
	push	320
	push	10
	push	10
	push	_sidesign_minib3d_TCamera
	push	dword [ebx+8]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_CameraViewport
	add	esp,20
	push	_2730
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2732
	call	_brl_blitz_NullObjectError
_2732:
	push	dword [ebx+8]
	call	_sidesign_minib3d_HideEntity
	add	esp,4
	push	_2733
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2735
	call	_brl_blitz_NullObjectError
_2735:
	push	1
	push	_77
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2737
	call	_brl_blitz_NullObjectError
_2737:
	mov	ebx,_86
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2742
	push	eax
	call	_bbGCFree
	add	esp,4
_2742:
	mov	dword [esi+12],ebx
	push	_2743
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2745
	call	_brl_blitz_NullObjectError
_2745:
	push	dword [_bb_MapObjects]
	call	_brl_linkedlist_CountList
	add	esp,4
	push	eax
	call	_bbStringFromInt
	add	esp,4
	push	eax
	push	_122
	call	_bbStringConcat
	add	esp,8
	mov	esi,eax
	inc	dword [esi+4]
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2750
	push	eax
	call	_bbGCFree
	add	esp,4
_2750:
	mov	dword [ebx+16],esi
	call	dword [_bbOnDebugLeaveScope]
	jmp	_2577
_2577:
	push	_2752
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-16]
	cmp	ebx,_bbNullObject
	jne	_2754
	call	_brl_blitz_NullObjectError
_2754:
	push	1
	push	_76
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+176]
	add	esp,12
	mov	esi,eax
	cmp	esi,_bbNullObject
	jne	_2756
	call	_brl_blitz_NullObjectError
_2756:
	mov	ebx,dword [ebp-12]
	cmp	ebx,_bbNullObject
	jne	_2759
	call	_brl_blitz_NullObjectError
_2759:
	mov	ebx,dword [ebx+16]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2763
	push	eax
	call	_bbGCFree
	add	esp,4
_2763:
	mov	dword [esi+12],ebx
	push	_2764
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [_bb_MainEditor]
	cmp	ebx,_bbNullObject
	jne	_2766
	call	_brl_blitz_NullObjectError
_2766:
	mov	ebx,dword [ebx+8]
	cmp	ebx,_bbNullObject
	jne	_2768
	call	_brl_blitz_NullObjectError
_2768:
	push	ebx
	mov	eax,dword [ebx]
	call	dword [eax+60]
	add	esp,4
	mov	ebx,0
	jmp	_328
_328:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapObject_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2776
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_MapObject
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbEmptyString
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	push	ebp
	push	_2775
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_331
_331:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapObject_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_334:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2779
	push	eax
	call	_bbGCFree
	add	esp,4
_2779:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2781
	push	eax
	call	_bbGCFree
	add	esp,4
_2781:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2783
	push	eax
	call	_bbGCFree
	add	esp,4
_2783:
	mov	eax,0
	jmp	_2777
_2777:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapProps_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2785
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_CUI_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_MapProps
	mov	eax,dword [ebp-4]
	mov	dword [eax+24],5
	push	ebp
	push	_2784
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_337
_337:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapProps_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_340:
	mov	dword [eax],_bb_CUI
	push	eax
	call	__bb_CUI_Delete
	add	esp,4
	mov	eax,0
	jmp	_2786
_2786:
	mov	esp,ebp
	pop	ebp
	ret
__bb_MapProps_init:
	push	ebp
	mov	ebp,esp
	sub	esp,12
	push	ebx
	push	esi
	push	edi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,dword [ebp+12]
	mov	dword [ebp-8],eax
	mov	dword [ebp-12],_bbEmptyArray
	mov	eax,ebp
	push	eax
	push	_2819
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2787
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	10
	push	_2789
	call	_bbArrayNew1D
	add	esp,8
	mov	dword [ebp-12],eax
	push	_2791
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2793
	call	_brl_blitz_NullObjectError
_2793:
	push	529
	push	_bbNullObject
	push	512
	push	256
	push	10
	push	10
	push	_48
	call	_maxgui_maxgui_CreateWindow
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2798
	push	eax
	call	_bbGCFree
	add	esp,4
_2798:
	mov	dword [esi+8],ebx
	push	_2799
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,0
	mov	eax,dword [ebp-12]
	cmp	ebx,dword [eax+20]
	jb	_2801
	call	_brl_blitz_ArrayBoundsError
_2801:
	mov	eax,dword [ebp-12]
	shl	ebx,2
	add	eax,ebx
	mov	edi,eax
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2804
	call	_brl_blitz_NullObjectError
_2804:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2806
	call	_brl_blitz_NullObjectError
_2806:
	push	0
	push	dword [ebx+8]
	push	20
	push	dword [esi+8]
	call	_maxgui_maxgui_ClientWidth
	add	esp,4
	sub	eax,10
	push	eax
	push	5
	push	5
	push	_123
	call	_maxgui_maxgui_CreateLabel
	add	esp,28
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [edi+24]
	dec	dword [eax+4]
	jnz	_2810
	push	eax
	call	_bbGCFree
	add	esp,4
_2810:
	mov	dword [edi+24],ebx
	push	_2811
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2813
	call	_brl_blitz_NullObjectError
_2813:
	mov	ebx,dword [ebp-12]
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2818
	push	eax
	call	_bbGCFree
	add	esp,4
_2818:
	mov	dword [esi+12],ebx
	mov	ebx,0
	jmp	_344
_344:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	edi
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Gizmo_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2825
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	_bbObjectCtor
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_Gizmo
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+8],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+12],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+16],edx
	mov	edx,_bbNullObject
	inc	dword [edx+4]
	mov	eax,dword [ebp-4]
	mov	dword [eax+20],edx
	push	ebp
	push	_2824
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_347
_347:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Gizmo_Delete:
	push	ebp
	mov	ebp,esp
	push	ebx
	mov	ebx,dword [ebp+8]
_350:
	mov	eax,dword [ebx+20]
	dec	dword [eax+4]
	jnz	_2829
	push	eax
	call	_bbGCFree
	add	esp,4
_2829:
	mov	eax,dword [ebx+16]
	dec	dword [eax+4]
	jnz	_2831
	push	eax
	call	_bbGCFree
	add	esp,4
_2831:
	mov	eax,dword [ebx+12]
	dec	dword [eax+4]
	jnz	_2833
	push	eax
	call	_bbGCFree
	add	esp,4
_2833:
	mov	eax,dword [ebx+8]
	dec	dword [eax+4]
	jnz	_2835
	push	eax
	call	_bbGCFree
	add	esp,4
_2835:
	mov	eax,0
	jmp	_2827
_2827:
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Gizmo_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2836
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_353
_353:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_Gizmo_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2837
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	mov	ebx,0
	jmp	_356
_356:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_RotationGizmo_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2839
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_Gizmo_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_RotationGizmo
	push	ebp
	push	_2838
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_359
_359:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_RotationGizmo_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_362:
	mov	dword [eax],_bb_Gizmo
	push	eax
	call	__bb_Gizmo_Delete
	add	esp,4
	mov	eax,0
	jmp	_2840
_2840:
	mov	esp,ebp
	pop	ebp
	ret
__bb_RotationGizmo_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,8
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	dword [ebp-8],_bbNullObject
	mov	eax,ebp
	push	eax
	push	_2972
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2841
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2844
	call	_brl_blitz_NullObjectError
_2844:
	push	_bbNullObject
	push	8
	call	_sidesign_minib3d_CreateSphere
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2849
	push	eax
	call	_bbGCFree
	add	esp,4
_2849:
	mov	dword [esi+8],ebx
	push	_2850
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2852
	call	_brl_blitz_NullObjectError
_2852:
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_2853
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2855
	call	_brl_blitz_NullObjectError
_2855:
	push	1132396544
	push	1132396544
	push	1132396544
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_2856
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2858
	call	_brl_blitz_NullObjectError
_2858:
	push	0
	push	1056964608
	push	1056964608
	push	1056964608
	push	dword [ebx+8]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	_2859
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	3
	push	_124
	call	_sidesign_minib3d_LoadTexture
	add	esp,8
	mov	dword [ebp-8],eax
	push	_2861
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2863
	call	_brl_blitz_NullObjectError
_2863:
	push	_bbNullObject
	push	8
	call	_sidesign_minib3d_CreateSphere
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_2868
	push	eax
	call	_bbGCFree
	add	esp,4
_2868:
	mov	dword [esi+12],ebx
	push	_2869
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2871
	call	_brl_blitz_NullObjectError
_2871:
	push	0
	push	0
	push	dword [ebp-8]
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	_2872
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2874
	call	_brl_blitz_NullObjectError
_2874:
	push	0
	push	0
	push	1132396544
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_2875
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2877
	call	_brl_blitz_NullObjectError
_2877:
	push	17
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_2878
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2880
	call	_brl_blitz_NullObjectError
_2880:
	push	1082130432
	push	1056964608
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityRadius
	add	esp,12
	push	_2881
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2883
	call	_brl_blitz_NullObjectError
_2883:
	push	0
	push	1082130432
	push	1082130432
	push	1048576000
	push	dword [ebx+12]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	_2884
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2886
	call	_brl_blitz_NullObjectError
_2886:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2888
	call	_brl_blitz_NullObjectError
_2888:
	push	1
	push	dword [ebx+8]
	push	dword [esi+12]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	_2889
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2891
	call	_brl_blitz_NullObjectError
_2891:
	push	_bbNullObject
	push	8
	call	_sidesign_minib3d_CreateSphere
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_2896
	push	eax
	call	_bbGCFree
	add	esp,4
_2896:
	mov	dword [esi+16],ebx
	push	_2897
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2899
	call	_brl_blitz_NullObjectError
_2899:
	push	0
	push	0
	push	dword [ebp-8]
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	_2900
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2902
	call	_brl_blitz_NullObjectError
_2902:
	push	0
	push	1132396544
	push	0
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_2903
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2905
	call	_brl_blitz_NullObjectError
_2905:
	push	17
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_2906
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2908
	call	_brl_blitz_NullObjectError
_2908:
	push	1082130432
	push	1056964608
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityRadius
	add	esp,12
	push	_2909
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2911
	call	_brl_blitz_NullObjectError
_2911:
	push	0
	push	1119092736
	push	0
	push	0
	push	dword [ebx+16]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	_2912
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2914
	call	_brl_blitz_NullObjectError
_2914:
	push	0
	push	1082130432
	push	1082130432
	push	1048576000
	push	dword [ebx+16]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	_2915
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2917
	call	_brl_blitz_NullObjectError
_2917:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2919
	call	_brl_blitz_NullObjectError
_2919:
	push	1
	push	dword [ebx+8]
	push	dword [esi+16]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	_2920
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2922
	call	_brl_blitz_NullObjectError
_2922:
	push	_bbNullObject
	push	8
	call	_sidesign_minib3d_CreateSphere
	add	esp,8
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_2927
	push	eax
	call	_bbGCFree
	add	esp,4
_2927:
	mov	dword [esi+20],ebx
	push	_2928
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2930
	call	_brl_blitz_NullObjectError
_2930:
	push	0
	push	0
	push	dword [ebp-8]
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityTexture
	add	esp,16
	push	_2931
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2933
	call	_brl_blitz_NullObjectError
_2933:
	push	1132396544
	push	0
	push	0
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_2934
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2936
	call	_brl_blitz_NullObjectError
_2936:
	push	17
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_2937
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2939
	call	_brl_blitz_NullObjectError
_2939:
	push	1082130432
	push	1056964608
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityRadius
	add	esp,12
	push	_2940
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2942
	call	_brl_blitz_NullObjectError
_2942:
	push	0
	push	0
	push	1119092736
	push	0
	push	dword [ebx+20]
	call	_sidesign_minib3d_RotateEntity
	add	esp,20
	push	_2943
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2945
	call	_brl_blitz_NullObjectError
_2945:
	push	0
	push	1082130432
	push	1082130432
	push	1048576000
	push	dword [ebx+20]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	_2946
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2948
	call	_brl_blitz_NullObjectError
_2948:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2950
	call	_brl_blitz_NullObjectError
_2950:
	push	1
	push	dword [ebx+8]
	push	dword [esi+20]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	_2951
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2953
	call	_brl_blitz_NullObjectError
_2953:
	push	-1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	_2954
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2956
	call	_brl_blitz_NullObjectError
_2956:
	push	-2
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	_2957
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2959
	call	_brl_blitz_NullObjectError
_2959:
	push	-2
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	_2960
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2962
	call	_brl_blitz_NullObjectError
_2962:
	push	-2
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	_2963
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2965
	call	_brl_blitz_NullObjectError
_2965:
	push	0
	push	2
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityPickMode
	add	esp,12
	push	_2966
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2968
	call	_brl_blitz_NullObjectError
_2968:
	push	0
	push	2
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityPickMode
	add	esp,12
	push	_2969
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2971
	call	_brl_blitz_NullObjectError
_2971:
	push	0
	push	2
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityPickMode
	add	esp,12
	mov	ebx,0
	jmp	_365
_365:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TransformGizmo_New:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_2975
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	dword [ebp-4]
	call	__bb_Gizmo_New
	add	esp,4
	mov	eax,dword [ebp-4]
	mov	dword [eax],_bb_TransformGizmo
	push	ebp
	push	_2974
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	call	dword [_bbOnDebugLeaveScope]
	mov	ebx,0
	jmp	_368
_368:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TransformGizmo_Delete:
	push	ebp
	mov	ebp,esp
	mov	eax,dword [ebp+8]
_371:
	mov	dword [eax],_bb_Gizmo
	push	eax
	call	__bb_Gizmo_Delete
	add	esp,4
	mov	eax,0
	jmp	_2976
_2976:
	mov	esp,ebp
	pop	ebp
	ret
__bb_TransformGizmo_Create:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	push	esi
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	mov	eax,ebp
	push	eax
	push	_3090
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_2977
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2979
	call	_brl_blitz_NullObjectError
_2979:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCube
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+8]
	dec	dword [eax+4]
	jnz	_2984
	push	eax
	call	_bbGCFree
	add	esp,4
_2984:
	mov	dword [esi+8],ebx
	push	_2985
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2987
	call	_brl_blitz_NullObjectError
_2987:
	push	1
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_2988
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2990
	call	_brl_blitz_NullObjectError
_2990:
	push	1132396544
	push	1132396544
	push	1132396544
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_2991
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_2993
	call	_brl_blitz_NullObjectError
_2993:
	push	0
	push	1056964608
	push	1056964608
	push	1056964608
	push	dword [ebx+8]
	call	_sidesign_minib3d_ScaleEntity
	add	esp,20
	push	_2994
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_2996
	call	_brl_blitz_NullObjectError
_2996:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCube
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+12]
	dec	dword [eax+4]
	jnz	_3001
	push	eax
	call	_bbGCFree
	add	esp,4
_3001:
	mov	dword [esi+12],ebx
	push	_3002
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3004
	call	_brl_blitz_NullObjectError
_3004:
	push	0
	push	1048576000
	push	1048576000
	push	1084227584
	push	0
	push	0
	push	0
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+12]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_FitMesh
	add	esp,32
	push	_3005
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3007
	call	_brl_blitz_NullObjectError
_3007:
	push	1056964608
	push	1056964608
	push	1084227584
	push	0
	push	0
	push	0
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityBox
	add	esp,28
	push	_3008
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3010
	call	_brl_blitz_NullObjectError
_3010:
	push	0
	push	0
	push	1132396544
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_3011
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3013
	call	_brl_blitz_NullObjectError
_3013:
	push	1
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_3014
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3016
	call	_brl_blitz_NullObjectError
_3016:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3018
	call	_brl_blitz_NullObjectError
_3018:
	push	1
	push	dword [ebx+8]
	push	dword [esi+12]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	_3019
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3021
	call	_brl_blitz_NullObjectError
_3021:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCube
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+16]
	dec	dword [eax+4]
	jnz	_3026
	push	eax
	call	_bbGCFree
	add	esp,4
_3026:
	mov	dword [esi+16],ebx
	push	_3027
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3029
	call	_brl_blitz_NullObjectError
_3029:
	push	0
	push	1048576000
	push	1084227584
	push	1048576000
	push	0
	push	0
	push	0
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+16]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_FitMesh
	add	esp,32
	push	_3030
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3032
	call	_brl_blitz_NullObjectError
_3032:
	push	1056964608
	push	1084227584
	push	1056964608
	push	0
	push	0
	push	0
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityBox
	add	esp,28
	push	_3033
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3035
	call	_brl_blitz_NullObjectError
_3035:
	push	0
	push	1132396544
	push	0
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_3036
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3038
	call	_brl_blitz_NullObjectError
_3038:
	push	1
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_3039
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3041
	call	_brl_blitz_NullObjectError
_3041:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3043
	call	_brl_blitz_NullObjectError
_3043:
	push	1
	push	dword [ebx+8]
	push	dword [esi+16]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	_3044
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3046
	call	_brl_blitz_NullObjectError
_3046:
	push	_bbNullObject
	call	_sidesign_minib3d_CreateCube
	add	esp,4
	mov	ebx,eax
	inc	dword [ebx+4]
	mov	eax,dword [esi+20]
	dec	dword [eax+4]
	jnz	_3051
	push	eax
	call	_bbGCFree
	add	esp,4
_3051:
	mov	dword [esi+20],ebx
	push	_3052
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3054
	call	_brl_blitz_NullObjectError
_3054:
	push	0
	push	1084227584
	push	1048576000
	push	1048576000
	push	0
	push	0
	push	0
	push	_sidesign_minib3d_TMesh
	push	dword [ebx+20]
	call	_bbObjectDowncast
	add	esp,8
	push	eax
	call	_sidesign_minib3d_FitMesh
	add	esp,32
	push	_3055
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3057
	call	_brl_blitz_NullObjectError
_3057:
	push	1084227584
	push	1056964608
	push	1056964608
	push	0
	push	0
	push	0
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityBox
	add	esp,28
	push	_3058
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3060
	call	_brl_blitz_NullObjectError
_3060:
	push	1132396544
	push	0
	push	0
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityColor
	add	esp,16
	push	_3061
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3063
	call	_brl_blitz_NullObjectError
_3063:
	push	1
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityFX
	add	esp,8
	push	_3064
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	esi,dword [ebp-4]
	cmp	esi,_bbNullObject
	jne	_3066
	call	_brl_blitz_NullObjectError
_3066:
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3068
	call	_brl_blitz_NullObjectError
_3068:
	push	1
	push	dword [ebx+8]
	push	dword [esi+20]
	call	_sidesign_minib3d_EntityParent
	add	esp,12
	push	_3069
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3071
	call	_brl_blitz_NullObjectError
_3071:
	push	-2
	push	dword [ebx+8]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	_3072
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3074
	call	_brl_blitz_NullObjectError
_3074:
	push	-1
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	_3075
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3077
	call	_brl_blitz_NullObjectError
_3077:
	push	-1
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	_3078
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3080
	call	_brl_blitz_NullObjectError
_3080:
	push	-1
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityOrder
	add	esp,8
	push	_3081
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3083
	call	_brl_blitz_NullObjectError
_3083:
	push	0
	push	3
	push	dword [ebx+12]
	call	_sidesign_minib3d_EntityPickMode
	add	esp,12
	push	_3084
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3086
	call	_brl_blitz_NullObjectError
_3086:
	push	0
	push	3
	push	dword [ebx+16]
	call	_sidesign_minib3d_EntityPickMode
	add	esp,12
	push	_3087
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	mov	ebx,dword [ebp-4]
	cmp	ebx,_bbNullObject
	jne	_3089
	call	_brl_blitz_NullObjectError
_3089:
	push	0
	push	3
	push	dword [ebx+20]
	call	_sidesign_minib3d_EntityPickMode
	add	esp,12
	mov	ebx,0
	jmp	_374
_374:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	esi
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
__bb_TransformGizmo_Update:
	push	ebp
	mov	ebp,esp
	sub	esp,4
	push	ebx
	mov	eax,dword [ebp+8]
	mov	dword [ebp-4],eax
	push	ebp
	push	_3092
	call	dword [_bbOnDebugEnterScope]
	add	esp,8
	push	_3091
	call	dword [_bbOnDebugEnterStm]
	add	esp,4
	push	dword [ebp-4]
	call	__bb_Gizmo_Update
	add	esp,4
	mov	ebx,0
	jmp	_377
_377:
	call	dword [_bbOnDebugLeaveScope]
	mov	eax,ebx
	pop	ebx
	mov	esp,ebp
	pop	ebp
	ret
	section	"data" data writeable align 8
	align	4
_445:
	dd	0
_416:
	db	"GenEd3D",0
_417:
	db	"MENU_NEW",0
_167:
	db	"i",0
	align	4
_418:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,49
_419:
	db	"MENU_OPEN",0
	align	4
_420:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,50
_421:
	db	"MENU_SAVE",0
	align	4
_422:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,51
_423:
	db	"MENU_CLOSE",0
	align	4
_424:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,52
_425:
	db	"MENU_EXIT",0
	align	4
_426:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	49,48,53
_427:
	db	"MENU_EDTRANS",0
	align	4
_428:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,48,49
_429:
	db	"MENU_EDROT",0
	align	4
_430:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	50,48,50
_431:
	db	"MENU_MAPRPS",0
	align	4
_432:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	51,48,49
_433:
	db	"MENU_OMAN",0
	align	4
_434:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	53,48,49
_435:
	db	"MENU_NMAN",0
	align	4
_436:
	dd	_bbStringClass
	dd	2147483646
	dd	3
	dw	53,48,50
_437:
	db	"GENED3D_VERSION",0
_208:
	db	"$",0
	align	4
_438:
	dd	_bbStringClass
	dd	2147483646
	dd	5
	dw	48,46,48,46,49
_439:
	db	"WorkingDir",0
	align	4
_bb_WorkingDir:
	dd	_bbEmptyString
_440:
	db	"MainEditor",0
_441:
	db	":CEditor",0
	align	4
_bb_MainEditor:
	dd	_bbNullObject
_442:
	db	"CURRENTMAP",0
_443:
	db	":xmlDocument",0
	align	4
_bb_CURRENTMAP:
	dd	_bbNullObject
_444:
	db	"MapObjects",0
_150:
	db	":TList",0
	align	4
_bb_MapObjects:
	dd	_bbNullObject
	align	4
_415:
	dd	1
	dd	_416
	dd	1
	dd	_417
	dd	_167
	dd	_418
	dd	1
	dd	_419
	dd	_167
	dd	_420
	dd	1
	dd	_421
	dd	_167
	dd	_422
	dd	1
	dd	_423
	dd	_167
	dd	_424
	dd	1
	dd	_425
	dd	_167
	dd	_426
	dd	1
	dd	_427
	dd	_167
	dd	_428
	dd	1
	dd	_429
	dd	_167
	dd	_430
	dd	1
	dd	_431
	dd	_167
	dd	_432
	dd	1
	dd	_433
	dd	_167
	dd	_434
	dd	1
	dd	_435
	dd	_167
	dd	_436
	dd	1
	dd	_437
	dd	_208
	dd	_438
	dd	4
	dd	_439
	dd	_208
	dd	_bb_WorkingDir
	dd	4
	dd	_440
	dd	_441
	dd	_bb_MainEditor
	dd	4
	dd	_442
	dd	_443
	dd	_bb_CURRENTMAP
	dd	4
	dd	_444
	dd	_150
	dd	_bb_MapObjects
	dd	0
_130:
	db	"CEditor",0
_131:
	db	"MainUI",0
_132:
	db	":CedUI",0
_133:
	db	"New",0
_134:
	db	"()i",0
_135:
	db	"Delete",0
_136:
	db	"Init",0
_137:
	db	"InitGUI",0
_138:
	db	"SetWorkDir",0
_139:
	db	"OnEvent",0
_140:
	db	"OnNewMap",0
	align	4
_129:
	dd	2
	dd	_130
	dd	3
	dd	_131
	dd	_132
	dd	8
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_136
	dd	_134
	dd	48
	dd	6
	dd	_137
	dd	_134
	dd	52
	dd	6
	dd	_138
	dd	_134
	dd	56
	dd	6
	dd	_139
	dd	_134
	dd	60
	dd	6
	dd	_140
	dd	_134
	dd	64
	dd	0
	align	4
_bb_CEditor:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_129
	dd	12
	dd	__bb_CEditor_New
	dd	__bb_CEditor_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_CEditor_Init
	dd	__bb_CEditor_InitGUI
	dd	__bb_CEditor_SetWorkDir
	dd	__bb_CEditor_OnEvent
	dd	__bb_CEditor_OnNewMap
_142:
	db	"CUI",0
_143:
	db	"window",0
_144:
	db	":TGadget",0
_145:
	db	"gadgets",0
_146:
	db	"[]:TGadget",0
_147:
	db	"Parent",0
_148:
	db	":CUI",0
_149:
	db	"Children",0
_151:
	db	"(:CUI)i",0
_152:
	db	"Update",0
_153:
	db	"(i)i",0
	align	4
_141:
	dd	2
	dd	_142
	dd	3
	dd	_143
	dd	_144
	dd	8
	dd	3
	dd	_145
	dd	_146
	dd	12
	dd	3
	dd	_147
	dd	_148
	dd	16
	dd	3
	dd	_149
	dd	_150
	dd	20
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_136
	dd	_151
	dd	48
	dd	6
	dd	_152
	dd	_153
	dd	52
	dd	0
	align	4
_bb_CUI:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_141
	dd	24
	dd	__bb_CUI_New
	dd	__bb_CUI_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_CUI_Init
	dd	__bb_CUI_Update
_155:
	db	"CedUI",0
_156:
	db	"FPSTimer",0
_157:
	db	":TTimer",0
_158:
	db	"grid",0
_159:
	db	":TMesh",0
_160:
	db	"gridt",0
_161:
	db	":TTexture",0
_162:
	db	"cam",0
_163:
	db	":TCamera",0
_164:
	db	"light",0
_165:
	db	":TLight",0
_166:
	db	"OldMX",0
_168:
	db	"OldMy",0
_169:
	db	"MDownA",0
_170:
	db	"b",0
_171:
	db	"MDownB",0
_172:
	db	"Co",0
_173:
	db	":CGObjs",0
_174:
	db	"No",0
_175:
	db	":CGNodes",0
_176:
	db	"Mp",0
_177:
	db	":MapProps",0
_178:
	db	"nexty",0
_179:
	db	"nextx",0
_180:
	db	"fitbox",0
_181:
	db	":TEntity",0
_182:
	db	"fittex",0
_183:
	db	"transg",0
_184:
	db	":TransformGizmo",0
_185:
	db	"rotg",0
_186:
	db	":RotationGizmo",0
_187:
	db	"Picked",0
_188:
	db	"trnmode",0
_189:
	db	"Init3D",0
_190:
	db	"RefreshSceneList",0
_191:
	db	"LoadMap",0
_192:
	db	"($)i",0
_193:
	db	"NewMap",0
	align	4
_154:
	dd	2
	dd	_155
	dd	3
	dd	_156
	dd	_157
	dd	24
	dd	3
	dd	_158
	dd	_159
	dd	28
	dd	3
	dd	_160
	dd	_161
	dd	32
	dd	3
	dd	_162
	dd	_163
	dd	36
	dd	3
	dd	_164
	dd	_165
	dd	40
	dd	3
	dd	_166
	dd	_167
	dd	44
	dd	3
	dd	_168
	dd	_167
	dd	48
	dd	3
	dd	_169
	dd	_170
	dd	52
	dd	3
	dd	_171
	dd	_170
	dd	53
	dd	3
	dd	_172
	dd	_173
	dd	56
	dd	3
	dd	_174
	dd	_175
	dd	60
	dd	3
	dd	_176
	dd	_177
	dd	64
	dd	3
	dd	_178
	dd	_167
	dd	68
	dd	3
	dd	_179
	dd	_167
	dd	72
	dd	3
	dd	_180
	dd	_181
	dd	76
	dd	3
	dd	_182
	dd	_161
	dd	80
	dd	3
	dd	_183
	dd	_184
	dd	84
	dd	3
	dd	_185
	dd	_186
	dd	88
	dd	3
	dd	_187
	dd	_181
	dd	92
	dd	3
	dd	_188
	dd	_167
	dd	96
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_136
	dd	_151
	dd	48
	dd	6
	dd	_189
	dd	_134
	dd	56
	dd	6
	dd	_190
	dd	_134
	dd	60
	dd	6
	dd	_152
	dd	_153
	dd	52
	dd	6
	dd	_191
	dd	_192
	dd	64
	dd	6
	dd	_193
	dd	_134
	dd	68
	dd	0
	align	4
_bb_CedUI:
	dd	_bb_CUI
	dd	_bbObjectFree
	dd	_154
	dd	100
	dd	__bb_CedUI_New
	dd	__bb_CedUI_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_CedUI_Init
	dd	__bb_CedUI_Update
	dd	__bb_CedUI_Init3D
	dd	__bb_CedUI_RefreshSceneList
	dd	__bb_CedUI_LoadMap
	dd	__bb_CedUI_NewMap
_195:
	db	"CGObjs",0
_196:
	db	"init",0
_197:
	db	"AddtoMap",0
_198:
	db	"RefreshObjects",0
_199:
	db	"AddObject",0
	align	4
_194:
	dd	2
	dd	_195
	dd	3
	dd	_178
	dd	_167
	dd	24
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_196
	dd	_151
	dd	48
	dd	6
	dd	_152
	dd	_153
	dd	52
	dd	6
	dd	_197
	dd	_153
	dd	56
	dd	6
	dd	_198
	dd	_134
	dd	60
	dd	6
	dd	_199
	dd	_192
	dd	64
	dd	0
	align	4
_bb_CGObjs:
	dd	_bb_CUI
	dd	_bbObjectFree
	dd	_194
	dd	28
	dd	__bb_CGObjs_New
	dd	__bb_CGObjs_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_CGObjs_init
	dd	__bb_CGObjs_Update
	dd	__bb_CGObjs_AddtoMap
	dd	__bb_CGObjs_RefreshObjects
	dd	__bb_CGObjs_AddObject
_201:
	db	"CGNodes",0
	align	4
_200:
	dd	2
	dd	_201
	dd	3
	dd	_178
	dd	_167
	dd	24
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_196
	dd	_151
	dd	48
	dd	6
	dd	_152
	dd	_153
	dd	52
	dd	6
	dd	_197
	dd	_153
	dd	56
	dd	0
	align	4
_bb_CGNodes:
	dd	_bb_CUI
	dd	_bbObjectFree
	dd	_200
	dd	28
	dd	__bb_CGNodes_New
	dd	__bb_CGNodes_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_CGNodes_init
	dd	__bb_CGNodes_Update
	dd	__bb_CGNodes_AddtoMap
_203:
	db	"MapObject",0
_204:
	db	"Mesh",0
_205:
	db	"node",0
_206:
	db	":xmlNode",0
_207:
	db	"name",0
	align	4
_202:
	dd	2
	dd	_203
	dd	3
	dd	_204
	dd	_181
	dd	8
	dd	3
	dd	_205
	dd	_206
	dd	12
	dd	3
	dd	_207
	dd	_208
	dd	16
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	0
	align	4
_bb_MapObject:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_202
	dd	20
	dd	__bb_MapObject_New
	dd	__bb_MapObject_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
_210:
	db	"MapProps",0
_211:
	db	"nexy",0
	align	4
_209:
	dd	2
	dd	_210
	dd	3
	dd	_211
	dd	_167
	dd	24
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_196
	dd	_151
	dd	48
	dd	0
	align	4
_bb_MapProps:
	dd	_bb_CUI
	dd	_bbObjectFree
	dd	_209
	dd	28
	dd	__bb_MapProps_New
	dd	__bb_MapProps_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_MapProps_init
	dd	__bb_CUI_Update
_213:
	db	"Gizmo",0
_214:
	db	"piv",0
_215:
	db	"xaxis",0
_216:
	db	"yaxis",0
_217:
	db	"zaxis",0
_218:
	db	"Create",0
	align	4
_212:
	dd	2
	dd	_213
	dd	3
	dd	_214
	dd	_181
	dd	8
	dd	3
	dd	_215
	dd	_181
	dd	12
	dd	3
	dd	_216
	dd	_181
	dd	16
	dd	3
	dd	_217
	dd	_181
	dd	20
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_218
	dd	_134
	dd	48
	dd	6
	dd	_152
	dd	_134
	dd	52
	dd	0
	align	4
_bb_Gizmo:
	dd	_bbObjectClass
	dd	_bbObjectFree
	dd	_212
	dd	24
	dd	__bb_Gizmo_New
	dd	__bb_Gizmo_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_Gizmo_Create
	dd	__bb_Gizmo_Update
_220:
	db	"RotationGizmo",0
	align	4
_219:
	dd	2
	dd	_220
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_218
	dd	_134
	dd	48
	dd	0
	align	4
_bb_RotationGizmo:
	dd	_bb_Gizmo
	dd	_bbObjectFree
	dd	_219
	dd	24
	dd	__bb_RotationGizmo_New
	dd	__bb_RotationGizmo_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_RotationGizmo_Create
	dd	__bb_Gizmo_Update
_222:
	db	"TransformGizmo",0
	align	4
_221:
	dd	2
	dd	_222
	dd	6
	dd	_133
	dd	_134
	dd	16
	dd	6
	dd	_135
	dd	_134
	dd	20
	dd	6
	dd	_218
	dd	_134
	dd	48
	dd	6
	dd	_152
	dd	_134
	dd	52
	dd	0
	align	4
_bb_TransformGizmo:
	dd	_bb_Gizmo
	dd	_bbObjectFree
	dd	_221
	dd	24
	dd	__bb_TransformGizmo_New
	dd	__bb_TransformGizmo_Delete
	dd	_bbObjectToString
	dd	_bbObjectCompare
	dd	_bbObjectSendMessage
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	_bbObjectReserved
	dd	__bb_TransformGizmo_Create
	dd	__bb_TransformGizmo_Update
_380:
	db	"$BMXPATH/projects/GenEd3D/Includes/Globals.bmx",0
	align	4
_379:
	dd	_380
	dd	12
	dd	1
	align	4
_381:
	dd	_380
	dd	13
	dd	1
	align	4
_382:
	dd	_380
	dd	14
	dd	1
	align	4
_384:
	dd	0
	align	4
_386:
	dd	_380
	dd	15
	dd	1
	align	4
_91:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	77,97,112
	align	4
_396:
	dd	_380
	dd	17
	dd	1
_400:
	db	"$BMXPATH/projects/GenEd3D/GenEd3D.bmx",0
	align	4
_399:
	dd	_400
	dd	7
	dd	1
	align	4
_401:
	dd	_400
	dd	8
	dd	1
	align	4
_406:
	dd	_400
	dd	9
	dd	1
	align	4
_409:
	dd	_400
	dd	11
	dd	1
	align	4
_413:
	dd	3
	dd	0
	dd	0
	align	4
_410:
	dd	_400
	dd	13
	dd	2
	align	4
_414:
	dd	_400
	dd	16
	dd	1
_450:
	db	"Self",0
	align	4
_449:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_441
	dd	-4
	dd	0
	align	4
_448:
	dd	3
	dd	0
	dd	0
	align	4
_461:
	dd	1
	dd	_136
	dd	2
	dd	_450
	dd	_441
	dd	-4
	dd	0
_455:
	db	"$BMXPATH/projects/GenEd3D/Includes/CEditor.bmx",0
	align	4
_454:
	dd	_455
	dd	10
	dd	3
	align	4
_458:
	dd	_455
	dd	11
	dd	3
	align	4
_475:
	dd	1
	dd	_137
	dd	2
	dd	_450
	dd	_441
	dd	-4
	dd	0
	align	4
_462:
	dd	_455
	dd	19
	dd	3
	align	4
_470:
	dd	_455
	dd	20
	dd	3
	align	4
_516:
	dd	1
	dd	_138
	dd	2
	dd	_450
	dd	_441
	dd	-8
	dd	0
	align	4
_476:
	dd	_455
	dd	27
	dd	3
	align	4
_28:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	92,68,111,99,117,109,101,110,116,115,92,71,101,110,69,100
	dw	51,68
	align	4
_27:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	85,83,69,82,80,82,79,70,73,76,69
	align	4
_481:
	dd	_455
	dd	28
	dd	3
_499:
	db	"cd",0
	align	4
_498:
	dd	3
	dd	0
	dd	2
	dd	_499
	dd	_170
	dd	-4
	dd	0
	align	4
_483:
	dd	_455
	dd	29
	dd	4
	align	4
_485:
	dd	_455
	dd	30
	dd	4
	align	4
_497:
	dd	3
	dd	0
	dd	0
	align	4
_487:
	dd	_455
	dd	31
	dd	5
	align	4
_30:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	92,68,111,99,117,109,101,110,116,115
	align	4
_29:
	dd	_bbStringClass
	dd	2147483647
	dd	24
	dw	83,101,108,101,99,116,32,87,111,114,107,105,110,103,32,68
	dw	105,114,101,99,116,111,114,121
	align	4
_492:
	dd	_455
	dd	32
	dd	5
	align	4
_1:
	dd	_bbStringClass
	dd	2147483647
	dd	0
	align	4
_496:
	dd	3
	dd	0
	dd	0
	align	4
_494:
	dd	_455
	dd	33
	dd	6
	align	4
_31:
	dd	_bbStringClass
	dd	2147483647
	dd	40
	dw	65,32,119,111,114,107,105,110,103,32,100,105,114,101,99,116
	dw	111,114,121,32,105,115,32,114,101,113,117,105,114,101,100,33
	dw	10,69,120,105,116,105,110,103
	align	4
_495:
	dd	_455
	dd	34
	dd	6
	align	4
_500:
	dd	_455
	dd	38
	dd	3
	align	4
_32:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	92,77,111,100,101,108,115
	align	4
_503:
	dd	3
	dd	0
	dd	0
	align	4
_502:
	dd	_455
	dd	38
	dd	46
	align	4
_504:
	dd	_455
	dd	39
	dd	3
	align	4
_33:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	92,84,101,120,116,117,114,101,115
	align	4
_507:
	dd	3
	dd	0
	dd	0
	align	4
_506:
	dd	_455
	dd	39
	dd	48
	align	4
_508:
	dd	_455
	dd	40
	dd	3
	align	4
_34:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	92,77,97,112,115
	align	4
_511:
	dd	3
	dd	0
	dd	0
	align	4
_510:
	dd	_455
	dd	40
	dd	44
	align	4
_512:
	dd	_455
	dd	41
	dd	3
	align	4
_35:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	92,79,98,106,101,99,116,115
	align	4
_515:
	dd	3
	dd	0
	dd	0
	align	4
_514:
	dd	_455
	dd	41
	dd	47
_526:
	db	"EID",0
	align	4
_525:
	dd	1
	dd	_139
	dd	2
	dd	_450
	dd	_441
	dd	-4
	dd	2
	dd	_526
	dd	_167
	dd	-8
	dd	0
	align	4
_517:
	dd	_455
	dd	46
	dd	3
	align	4
_518:
	dd	_455
	dd	47
	dd	3
	align	4
_520:
	dd	_455
	dd	48
	dd	3
	align	4
_527:
	dd	1
	dd	_140
	dd	2
	dd	_450
	dd	_441
	dd	-4
	dd	0
	align	4
_533:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_148
	dd	-4
	dd	0
	align	4
_532:
	dd	3
	dd	0
	dd	0
_558:
	db	"p",0
	align	4
_557:
	dd	1
	dd	_136
	dd	2
	dd	_450
	dd	_148
	dd	-4
	dd	2
	dd	_558
	dd	_148
	dd	-8
	dd	0
_544:
	db	"$BMXPATH/projects/GenEd3D/Includes/CUI.bmx",0
	align	4
_543:
	dd	_544
	dd	11
	dd	3
	align	4
_547:
	dd	_544
	dd	12
	dd	3
	align	4
_556:
	dd	3
	dd	0
	dd	0
	align	4
_551:
	dd	_544
	dd	13
	dd	4
	align	4
_559:
	dd	1
	dd	_152
	dd	2
	dd	_450
	dd	_148
	dd	-4
	dd	2
	dd	_526
	dd	_167
	dd	-8
	dd	0
	align	4
_574:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_132
	dd	-4
	dd	0
	align	4
_573:
	dd	3
	dd	0
	dd	0
_781:
	db	"gads",0
_782:
	db	"filemenu",0
	align	4
_780:
	dd	1
	dd	_136
	dd	2
	dd	_450
	dd	_132
	dd	-4
	dd	2
	dd	_558
	dd	_148
	dd	-8
	dd	2
	dd	_781
	dd	_146
	dd	-12
	dd	2
	dd	_782
	dd	_144
	dd	-16
	dd	0
_603:
	db	"$BMXPATH/projects/GenEd3D/Includes/CedUI.bmx",0
	align	4
_602:
	dd	_603
	dd	39
	dd	3
_604:
	db	":TGadget",0
	align	4
_606:
	dd	_603
	dd	40
	dd	3
	align	4
_610:
	dd	_bbStringClass
	dd	2147483647
	dd	15
	dw	71,101,110,69,100,51,68,32,118,45,48,46,48,46,49
	align	4
_615:
	dd	_603
	dd	41
	dd	3
	align	4
_629:
	dd	_603
	dd	42
	dd	3
	align	4
_637:
	dd	_603
	dd	44
	dd	3
	align	4
_37:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	83,99,101,110,101,32,79,98,106,101,99,116,115
	align	4
_653:
	dd	_603
	dd	45
	dd	3
	align	4
_661:
	dd	_603
	dd	46
	dd	3
	align	4
_677:
	dd	_603
	dd	49
	dd	3
	align	4
_38:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	38,70,105,108,101
	align	4
_681:
	dd	_603
	dd	50
	dd	3
	align	4
_39:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	38,78,101,119
	align	4
_682:
	dd	_603
	dd	51
	dd	3
	align	4
_40:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	38,79,112,101,110
	align	4
_683:
	dd	_603
	dd	52
	dd	3
	align	4
_41:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	38,67,108,111,115,101
	align	4
_684:
	dd	_603
	dd	53
	dd	3
	align	4
_685:
	dd	_603
	dd	54
	dd	3
	align	4
_42:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	38,83,97,118,101
	align	4
_686:
	dd	_603
	dd	55
	dd	3
	align	4
_687:
	dd	_603
	dd	56
	dd	3
	align	4
_43:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	69,38,120,105,116
	align	4
_688:
	dd	_603
	dd	58
	dd	3
	align	4
_44:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	38,69,100,105,116
	align	4
_691:
	dd	_603
	dd	59
	dd	3
	align	4
_45:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	80,111,115,116,105,111,110
	align	4
_692:
	dd	_603
	dd	60
	dd	3
	align	4
_46:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	82,111,116,97,116,101
	align	4
_693:
	dd	_603
	dd	62
	dd	3
	align	4
_47:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	38,77,97,112
	align	4
_696:
	dd	_603
	dd	63
	dd	3
	align	4
_48:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	77,97,112,32,80,114,111,112,101,114,116,105,101,115
	align	4
_697:
	dd	_603
	dd	65
	dd	3
	align	4
_49:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	38,87,105,110,100,111,119
	align	4
_700:
	dd	_603
	dd	66
	dd	3
	align	4
_50:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	79,98,106,101,99,116,32,77,97,110,97,103,101,114
	align	4
_701:
	dd	_603
	dd	67
	dd	3
	align	4
_51:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	78,111,100,101,32,77,97,110,97,103,101,114
	align	4
_702:
	dd	_603
	dd	70
	dd	3
	align	4
_705:
	dd	_603
	dd	73
	dd	3
	align	4
_708:
	dd	_603
	dd	74
	dd	3
	align	4
_711:
	dd	_603
	dd	76
	dd	3
	align	4
_712:
	dd	_603
	dd	77
	dd	3
	align	4
_713:
	dd	_603
	dd	78
	dd	3
	align	4
_714:
	dd	_603
	dd	80
	dd	3
	align	4
_717:
	dd	_603
	dd	81
	dd	3
	align	4
_720:
	dd	_603
	dd	82
	dd	3
	align	4
_721:
	dd	_603
	dd	84
	dd	3
	align	4
_729:
	dd	_603
	dd	86
	dd	3
	align	4
_737:
	dd	_603
	dd	87
	dd	3
	align	4
_740:
	dd	_603
	dd	88
	dd	3
	align	4
_748:
	dd	_603
	dd	89
	dd	3
	align	4
_753:
	dd	_603
	dd	90
	dd	3
	align	4
_761:
	dd	_603
	dd	91
	dd	3
	align	4
_766:
	dd	_603
	dd	92
	dd	3
	align	4
_774:
	dd	_603
	dd	93
	dd	3
	align	4
_779:
	dd	_603
	dd	95
	dd	3
	align	4
_893:
	dd	1
	dd	_189
	dd	2
	dd	_450
	dd	_132
	dd	-4
	dd	0
	align	4
_783:
	dd	_603
	dd	100
	dd	3
	align	4
_791:
	dd	_603
	dd	101
	dd	3
	align	4
_794:
	dd	_603
	dd	102
	dd	3
	align	4
_802:
	dd	_603
	dd	103
	dd	3
	align	4
_52:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	101,100,105,116,111,114,101,115,47,103,114,105,100,46,98,51
	dw	100
	align	4
_810:
	dd	_603
	dd	104
	dd	3
	align	4
_813:
	dd	_603
	dd	105
	dd	3
	align	4
_816:
	dd	_603
	dd	106
	dd	3
	align	4
_53:
	dd	_bbStringClass
	dd	2147483647
	dd	17
	dw	101,100,105,116,111,114,101,115,47,103,114,105,100,46,112,110
	dw	103
	align	4
_824:
	dd	_603
	dd	107
	dd	3
	align	4
_827:
	dd	_603
	dd	108
	dd	3
	align	4
_832:
	dd	_603
	dd	109
	dd	3
	align	4
_835:
	dd	_603
	dd	110
	dd	3
	align	4
_843:
	dd	_603
	dd	111
	dd	3
	align	4
_54:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	101,100,105,116,111,114,101,115,47,102,105,116,98,111,120,46
	dw	112,110,103
	align	4
_851:
	dd	_603
	dd	112
	dd	3
	align	4
_856:
	dd	_603
	dd	113
	dd	3
	align	4
_859:
	dd	_603
	dd	114
	dd	3
	align	4
_862:
	dd	_603
	dd	115
	dd	3
	align	4
_870:
	dd	_603
	dd	116
	dd	3
	align	4
_875:
	dd	_603
	dd	117
	dd	3
	align	4
_883:
	dd	_603
	dd	118
	dd	3
	align	4
_888:
	dd	_603
	dd	119
	dd	3
	align	4
_921:
	dd	1
	dd	_190
	dd	2
	dd	_450
	dd	_132
	dd	-4
	dd	0
	align	4
_894:
	dd	_603
	dd	123
	dd	3
	align	4
_900:
	dd	_603
	dd	124
	dd	3
_919:
	db	"mo",0
_920:
	db	":MapObject",0
	align	4
_918:
	dd	3
	dd	0
	dd	2
	dd	_919
	dd	_920
	dd	-8
	dd	0
	align	4
_910:
	dd	_603
	dd	126
	dd	4
	align	4
_1765:
	dd	1
	dd	_152
	dd	2
	dd	_450
	dd	_132
	dd	-4
	dd	2
	dd	_526
	dd	_167
	dd	-8
	dd	0
	align	4
_922:
	dd	_603
	dd	134
	dd	3
	align	4
_1080:
	dd	3
	dd	0
	dd	0
	align	4
_935:
	dd	_603
	dd	136
	dd	5
	align	4
_1079:
	dd	3
	dd	0
	dd	0
	align	4
_944:
	dd	_603
	dd	139
	dd	7
	align	4
_58:
	dd	_bbStringClass
	dd	2147483647
	dd	19
	dw	83,101,108,101,99,116,101,100,32,83,99,101,110,101,32,108
	dw	105,115,116
	align	4
_945:
	dd	_603
	dd	140
	dd	7
	align	4
_1078:
	dd	3
	dd	0
	dd	2
	dd	_919
	dd	_920
	dd	-12
	dd	0
	align	4
_952:
	dd	_603
	dd	141
	dd	8
	align	4
_964:
	dd	_603
	dd	142
	dd	8
_1077:
	db	"msh",0
_991:
	db	"c",0
	align	4
_1076:
	dd	3
	dd	0
	dd	2
	dd	_1077
	dd	_159
	dd	-16
	dd	2
	dd	_991
	dd	_163
	dd	-20
	dd	0
	align	4
_966:
	dd	_603
	dd	143
	dd	9
	align	4
_59:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	71,111,116,32,69,110,116,105,116,121
	align	4
_967:
	dd	_603
	dd	144
	dd	9
	align	4
_971:
	dd	_603
	dd	146
	dd	9
_990:
	db	"mm",0
	align	4
_989:
	dd	3
	dd	0
	dd	2
	dd	_990
	dd	_920
	dd	-24
	dd	2
	dd	_991
	dd	_163
	dd	-28
	dd	0
	align	4
_981:
	dd	_603
	dd	147
	dd	10
	align	4
_985:
	dd	_603
	dd	148
	dd	10
	align	4
_988:
	dd	3
	dd	0
	dd	0
	align	4
_987:
	dd	_603
	dd	149
	dd	11
	align	4
_992:
	dd	_603
	dd	152
	dd	9
	align	4
_996:
	dd	_603
	dd	153
	dd	9
	align	4
_1001:
	dd	3
	dd	0
	dd	0
	align	4
_998:
	dd	_603
	dd	154
	dd	10
	align	4
_1002:
	dd	_603
	dd	156
	dd	9
	align	4
_1008:
	dd	3
	dd	0
	dd	0
	align	4
_1004:
	dd	_603
	dd	157
	dd	10
	align	4
_63:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	87,97,115,32,109,101,115,104
	align	4
_1005:
	dd	_603
	dd	158
	dd	10
	align	4
_3229:
	dd	0x40000000
	align	4
_3230:
	dd	0x40000000
	align	4
_3231:
	dd	0x40000000
	align	4
_1013:
	dd	3
	dd	0
	dd	0
	align	4
_1010:
	dd	_603
	dd	160
	dd	10
	align	4
_1014:
	dd	_603
	dd	163
	dd	9
	align	4
_1025:
	dd	_603
	dd	164
	dd	9
	align	4
_1036:
	dd	_603
	dd	165
	dd	9
	align	4
_1045:
	dd	_603
	dd	167
	dd	9
	align	4
_1056:
	dd	_603
	dd	168
	dd	9
	align	4
_1067:
	dd	_603
	dd	169
	dd	9
	align	4
_1084:
	dd	3
	dd	0
	dd	0
	align	4
_1081:
	dd	_603
	dd	176
	dd	5
	align	4
_1178:
	dd	3
	dd	0
	dd	0
	align	4
_1085:
	dd	_603
	dd	182
	dd	5
	align	4
_1098:
	dd	3
	dd	0
	dd	0
	align	4
_1095:
	dd	_603
	dd	185
	dd	7
_1113:
	db	"filter",0
_1114:
	db	"filename",0
	align	4
_1112:
	dd	3
	dd	0
	dd	2
	dd	_1113
	dd	_208
	dd	-32
	dd	2
	dd	_1114
	dd	_208
	dd	-36
	dd	0
	align	4
_1099:
	dd	_603
	dd	188
	dd	7
	align	4
_1102:
	dd	_603
	dd	189
	dd	7
	align	4
_64:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	77,97,112,32,70,105,108,101,115,58,109,97,112
	align	4
_1104:
	dd	_603
	dd	190
	dd	7
	align	4
_66:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	92,77,97,112,115,92
	align	4
_65:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	76,111,97,100,32,77,97,112
	align	4
_1106:
	dd	_603
	dd	191
	dd	7
	align	4
_1111:
	dd	3
	dd	0
	dd	0
	align	4
_1108:
	dd	_603
	dd	192
	dd	8
	align	4
_1129:
	dd	3
	dd	0
	dd	0
	align	4
_1115:
	dd	_603
	dd	196
	dd	7
	align	4
_1119:
	dd	_603
	dd	197
	dd	7
	align	4
_1124:
	dd	_603
	dd	198
	dd	7
	align	4
_1144:
	dd	3
	dd	0
	dd	0
	align	4
_1130:
	dd	_603
	dd	201
	dd	7
	align	4
_1134:
	dd	_603
	dd	202
	dd	7
	align	4
_1139:
	dd	_603
	dd	203
	dd	7
	align	4
_1155:
	dd	3
	dd	0
	dd	0
	align	4
_1145:
	dd	_603
	dd	206
	dd	7
	align	4
_1150:
	dd	_603
	dd	207
	dd	7
	align	4
_1166:
	dd	3
	dd	0
	dd	0
	align	4
_1156:
	dd	_603
	dd	210
	dd	7
	align	4
_1161:
	dd	_603
	dd	211
	dd	7
	align	4
_1177:
	dd	3
	dd	0
	dd	2
	dd	_1113
	dd	_208
	dd	-40
	dd	2
	dd	_1114
	dd	_208
	dd	-44
	dd	0
	align	4
_1167:
	dd	_603
	dd	214
	dd	7
	align	4
_1169:
	dd	_603
	dd	215
	dd	7
	align	4
_68:
	dd	_bbStringClass
	dd	2147483647
	dd	14
	dw	92,77,97,112,115,92,85,110,116,105,116,108,101,100
	align	4
_67:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	83,97,118,101,32,77,97,112,32,97,115
	align	4
_1171:
	dd	_603
	dd	216
	dd	7
	align	4
_1176:
	dd	3
	dd	0
	dd	0
	align	4
_1173:
	dd	_603
	dd	217
	dd	8
	align	4
_1193:
	dd	3
	dd	0
	dd	0
	align	4
_1179:
	dd	_603
	dd	222
	dd	5
	align	4
_1185:
	dd	3
	dd	0
	dd	0
	align	4
_1181:
	dd	_603
	dd	222
	dd	29
	align	4
_1186:
	dd	_603
	dd	223
	dd	5
	align	4
_1192:
	dd	3
	dd	0
	dd	0
	align	4
_1188:
	dd	_603
	dd	223
	dd	29
	align	4
_1208:
	dd	3
	dd	0
	dd	0
	align	4
_1194:
	dd	_603
	dd	225
	dd	5
	align	4
_1200:
	dd	3
	dd	0
	dd	0
	align	4
_1196:
	dd	_603
	dd	225
	dd	29
	align	4
_1201:
	dd	_603
	dd	226
	dd	5
	align	4
_1207:
	dd	3
	dd	0
	dd	0
	align	4
_1203:
	dd	_603
	dd	226
	dd	29
	align	4
_1212:
	dd	3
	dd	0
	dd	0
	align	4
_1209:
	dd	_603
	dd	228
	dd	6
	align	4
_1571:
	dd	3
	dd	0
	dd	0
	align	4
_1213:
	dd	_603
	dd	231
	dd	5
	align	4
_1224:
	dd	3
	dd	0
	dd	0
	align	4
_1217:
	dd	_603
	dd	232
	dd	6
	align	4
_1225:
	dd	_603
	dd	234
	dd	5
	align	4
_1562:
	dd	3
	dd	0
	dd	0
	align	4
_1229:
	dd	_603
	dd	235
	dd	6
	align	4
_1561:
	dd	3
	dd	0
	dd	2
	dd	_919
	dd	_920
	dd	-48
	dd	0
	align	4
_1240:
	dd	_603
	dd	236
	dd	7
	align	4
_1252:
	dd	_603
	dd	237
	dd	7
	align	4
_1560:
	dd	3
	dd	0
	dd	0
	align	4
_1254:
	dd	_603
	dd	239
	dd	8
	align	4
_1304:
	dd	3
	dd	0
	dd	0
	align	4
_1262:
	dd	_603
	dd	240
	dd	9
	align	4
_1269:
	dd	_603
	dd	241
	dd	9
	align	4
_1276:
	dd	_603
	dd	242
	dd	9
	align	4
_1281:
	dd	_603
	dd	243
	dd	9
	align	4
_1286:
	dd	_603
	dd	244
	dd	9
	align	4
_69:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	114,111,116
	align	4
_70:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	44
	align	4
_1305:
	dd	_603
	dd	246
	dd	8
	align	4
_1355:
	dd	3
	dd	0
	dd	0
	align	4
_1313:
	dd	_603
	dd	247
	dd	9
	align	4
_1320:
	dd	_603
	dd	248
	dd	9
	align	4
_1327:
	dd	_603
	dd	249
	dd	9
	align	4
_1332:
	dd	_603
	dd	250
	dd	9
	align	4
_1337:
	dd	_603
	dd	251
	dd	9
	align	4
_1356:
	dd	_603
	dd	253
	dd	8
	align	4
_1406:
	dd	3
	dd	0
	dd	0
	align	4
_1364:
	dd	_603
	dd	254
	dd	9
	align	4
_1371:
	dd	_603
	dd	255
	dd	9
	align	4
_1378:
	dd	_603
	dd	256
	dd	9
	align	4
_1383:
	dd	_603
	dd	257
	dd	9
	align	4
_1388:
	dd	_603
	dd	258
	dd	9
	align	4
_1407:
	dd	_603
	dd	261
	dd	8
	align	4
_1457:
	dd	3
	dd	0
	dd	0
	align	4
_1415:
	dd	_603
	dd	262
	dd	9
	align	4
_1422:
	dd	_603
	dd	263
	dd	9
	align	4
_1429:
	dd	_603
	dd	264
	dd	9
	align	4
_1434:
	dd	_603
	dd	265
	dd	9
	align	4
_1439:
	dd	_603
	dd	266
	dd	9
	align	4
_71:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	112,111,115
	align	4
_1458:
	dd	_603
	dd	268
	dd	8
	align	4
_1508:
	dd	3
	dd	0
	dd	0
	align	4
_1466:
	dd	_603
	dd	269
	dd	9
	align	4
_1473:
	dd	_603
	dd	270
	dd	9
	align	4
_1480:
	dd	_603
	dd	271
	dd	9
	align	4
_1485:
	dd	_603
	dd	272
	dd	9
	align	4
_1490:
	dd	_603
	dd	273
	dd	9
	align	4
_1509:
	dd	_603
	dd	275
	dd	8
	align	4
_1559:
	dd	3
	dd	0
	dd	0
	align	4
_1517:
	dd	_603
	dd	276
	dd	9
	align	4
_1524:
	dd	_603
	dd	277
	dd	9
	align	4
_1531:
	dd	_603
	dd	278
	dd	9
	align	4
_1536:
	dd	_603
	dd	279
	dd	9
	align	4
_1541:
	dd	_603
	dd	280
	dd	9
	align	4
_1563:
	dd	_603
	dd	289
	dd	5
	align	4
_1567:
	dd	_603
	dd	290
	dd	5
	align	4
_1578:
	dd	3
	dd	0
	dd	0
	align	4
_1572:
	dd	_603
	dd	292
	dd	5
	align	4
_1740:
	dd	3
	dd	0
	dd	0
	align	4
_1579:
	dd	_603
	dd	295
	dd	5
	align	4
_1585:
	dd	_603
	dd	296
	dd	5
	align	8
_3232:
	dd	0x0,0x406fe000
	align	8
_3233:
	dd	0x0,0x406fe000
	align	4
_1588:
	dd	_603
	dd	297
	dd	5
	align	4
_1606:
	dd	3
	dd	0
	dd	0
	align	4
_1592:
	dd	_603
	dd	298
	dd	6
	align	4
_1607:
	dd	_603
	dd	300
	dd	6
	align	4
_1737:
	dd	3
	dd	0
	dd	0
	align	4
_1611:
	dd	_603
	dd	303
	dd	7
	align	4
_1624:
	dd	3
	dd	0
	dd	0
	align	4
_1619:
	dd	_603
	dd	304
	dd	8
	align	4
_1631:
	dd	3
	dd	0
	dd	0
	align	4
_1626:
	dd	_603
	dd	306
	dd	8
	align	4
_1632:
	dd	_603
	dd	308
	dd	7
	align	4
_1645:
	dd	3
	dd	0
	dd	0
	align	4
_1640:
	dd	_603
	dd	309
	dd	8
	align	4
_1652:
	dd	3
	dd	0
	dd	0
	align	4
_1647:
	dd	_603
	dd	311
	dd	8
	align	4
_1653:
	dd	_603
	dd	313
	dd	7
	align	4
_1666:
	dd	3
	dd	0
	dd	0
	align	4
_1661:
	dd	_603
	dd	314
	dd	8
	align	4
_1673:
	dd	3
	dd	0
	dd	0
	align	4
_1668:
	dd	_603
	dd	316
	dd	8
	align	4
_1674:
	dd	_603
	dd	319
	dd	7
	align	4
_1687:
	dd	3
	dd	0
	dd	0
	align	4
_1682:
	dd	_603
	dd	320
	dd	8
	align	4
_1694:
	dd	3
	dd	0
	dd	0
	align	4
_1689:
	dd	_603
	dd	322
	dd	8
	align	4
_1695:
	dd	_603
	dd	324
	dd	7
	align	4
_1708:
	dd	3
	dd	0
	dd	0
	align	4
_1703:
	dd	_603
	dd	325
	dd	8
	align	4
_1715:
	dd	3
	dd	0
	dd	0
	align	4
_1710:
	dd	_603
	dd	327
	dd	8
	align	4
_1716:
	dd	_603
	dd	329
	dd	7
	align	4
_1729:
	dd	3
	dd	0
	dd	0
	align	4
_1724:
	dd	_603
	dd	330
	dd	8
	align	4
_1736:
	dd	3
	dd	0
	dd	0
	align	4
_1731:
	dd	_603
	dd	332
	dd	8
	align	4
_1738:
	dd	_603
	dd	339
	dd	5
	align	4
_1739:
	dd	_603
	dd	340
	dd	5
	align	4
_1749:
	dd	3
	dd	0
	dd	0
	align	4
_1741:
	dd	_603
	dd	344
	dd	5
	align	4
_1748:
	dd	3
	dd	0
	dd	0
	align	4
_1747:
	dd	_603
	dd	348
	dd	7
	align	4
_1750:
	dd	_603
	dd	352
	dd	3
	align	4
_1755:
	dd	_603
	dd	353
	dd	3
	align	4
_1760:
	dd	_603
	dd	354
	dd	3
_1963:
	db	"file",0
	align	4
_1962:
	dd	1
	dd	_191
	dd	2
	dd	_450
	dd	_132
	dd	-4
	dd	2
	dd	_1963
	dd	_208
	dd	-8
	dd	0
	align	4
_1766:
	dd	_603
	dd	359
	dd	3
	align	4
_1771:
	dd	_603
	dd	360
	dd	3
	align	4
_1774:
	dd	_603
	dd	361
	dd	3
_1958:
	db	"cnode",0
	align	4
_1957:
	dd	3
	dd	0
	dd	2
	dd	_1958
	dd	_206
	dd	-12
	dd	0
	align	4
_1780:
	dd	_603
	dd	362
	dd	4
	align	4
_1786:
	dd	_603
	dd	363
	dd	4
	align	4
_1956:
	dd	3
	dd	0
	dd	0
	align	4
_1787:
	dd	_603
	dd	364
	dd	5
	align	4
_75:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	103,97,109,101,111,98,106,101,99,116
	align	4
_1952:
	dd	3
	dd	0
	dd	2
	dd	_919
	dd	_920
	dd	-16
	dd	0
	align	4
_1793:
	dd	_603
	dd	366
	dd	7
	align	4
_1795:
	dd	_603
	dd	367
	dd	7
	align	4
_1803:
	dd	_603
	dd	368
	dd	7
	align	4
_76:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	110,97,109,101
	align	4
_1815:
	dd	_603
	dd	369
	dd	7
	align	4
_1816:
	dd	_603
	dd	371
	dd	7
	align	4
_77:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	116,121,112,101
	align	4
_78:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	109,101,115,104
	align	4
_81:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	103,101,110,101,114,97,108
	align	4
_82:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	111,109,110,105,108,105,103,104,116
	align	4
_83:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	112,111,105,110,116,108,105,103,104,116
	align	4
_84:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	115,112,111,116,108,105,103,104,116
	align	4
_85:
	dd	_bbStringClass
	dd	2147483647
	dd	5
	dw	115,111,117,110,100
	align	4
_86:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	99,97,109,101,114,97
	align	4
_1845:
	dd	3
	dd	0
	dd	0
	align	4
_1830:
	dd	_603
	dd	374
	dd	9
	align	4
_80:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	102,105,108,101,110,97,109,101
	align	4
_79:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	92,109,111,100,101,108,115,92
	align	4
_1842:
	dd	_603
	dd	375
	dd	9
	align	4
_1854:
	dd	3
	dd	0
	dd	0
	align	4
_1846:
	dd	_603
	dd	378
	dd	9
	align	4
_1863:
	dd	3
	dd	0
	dd	0
	align	4
_1855:
	dd	_603
	dd	381
	dd	9
	align	4
_1872:
	dd	3
	dd	0
	dd	0
	align	4
_1864:
	dd	_603
	dd	384
	dd	9
	align	4
_1881:
	dd	3
	dd	0
	dd	0
	align	4
_1873:
	dd	_603
	dd	387
	dd	9
	align	4
_1890:
	dd	3
	dd	0
	dd	0
	align	4
_1882:
	dd	_603
	dd	390
	dd	9
	align	4
_1905:
	dd	3
	dd	0
	dd	0
	align	4
_1891:
	dd	_603
	dd	393
	dd	9
	align	4
_1899:
	dd	_603
	dd	394
	dd	9
	align	4
_1902:
	dd	_603
	dd	395
	dd	9
	align	4
_1906:
	dd	_603
	dd	398
	dd	7
_1928:
	db	"pos",0
_1929:
	db	"[]$",0
	align	4
_1927:
	dd	3
	dd	0
	dd	2
	dd	_1928
	dd	_1929
	dd	-20
	dd	0
	align	4
_1912:
	dd	_603
	dd	399
	dd	8
	align	4
_1918:
	dd	_603
	dd	400
	dd	8
	align	4
_1930:
	dd	_603
	dd	402
	dd	7
	align	4
_1951:
	dd	3
	dd	0
	dd	2
	dd	_1928
	dd	_1929
	dd	-24
	dd	0
	align	4
_1936:
	dd	_603
	dd	403
	dd	8
	align	4
_1942:
	dd	_603
	dd	404
	dd	8
	align	4
_1953:
	dd	_603
	dd	408
	dd	5
	align	4
_1959:
	dd	_603
	dd	412
	dd	3
_2004:
	db	"result",0
	align	4
_2003:
	dd	1
	dd	_193
	dd	2
	dd	_450
	dd	_132
	dd	-4
	dd	2
	dd	_2004
	dd	_167
	dd	-8
	dd	0
	align	4
_1964:
	dd	_603
	dd	416
	dd	3
	align	4
_87:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	65,114,101,32,121,111,117,32,115,117,114,101,63
	align	4
_1966:
	dd	_603
	dd	417
	dd	3
	align	4
_1969:
	dd	3
	dd	0
	dd	0
	align	4
_1968:
	dd	_603
	dd	417
	dd	22
	align	4
_1970:
	dd	_603
	dd	418
	dd	3
	align	4
_1983:
	dd	3
	dd	0
	dd	2
	dd	_919
	dd	_920
	dd	-12
	dd	0
	align	4
_1980:
	dd	_603
	dd	420
	dd	4
	align	4
_1984:
	dd	_603
	dd	423
	dd	3
	align	4
_1985:
	dd	_603
	dd	424
	dd	3
	align	4
_1988:
	dd	_603
	dd	425
	dd	3
	align	4
_1993:
	dd	_603
	dd	426
	dd	3
	align	4
_2006:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_173
	dd	-4
	dd	0
	align	4
_2005:
	dd	3
	dd	0
	dd	0
	align	4
_2124:
	dd	1
	dd	_196
	dd	2
	dd	_450
	dd	_173
	dd	-4
	dd	2
	dd	_558
	dd	_148
	dd	-8
	dd	2
	dd	_781
	dd	_146
	dd	-12
	dd	0
_2009:
	db	"$BMXPATH/projects/GenEd3D/Includes/CGObjs.bmx",0
	align	4
_2008:
	dd	_2009
	dd	6
	dd	3
_2010:
	db	":TGadget",0
	align	4
_2012:
	dd	_2009
	dd	7
	dd	3
	align	4
_2020:
	dd	_2009
	dd	8
	dd	3
	align	4
_92:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	79,98,106,101,99,116,115,32,76,105,115,116
	align	4
_2032:
	dd	_2009
	dd	9
	dd	3
	align	4
_2038:
	dd	_2009
	dd	10
	dd	3
	align	4
_2052:
	dd	_2009
	dd	11
	dd	3
	align	4
_2060:
	dd	_2009
	dd	12
	dd	3
	align	4
_93:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	67,114,101,97,116,101
	align	4
_2074:
	dd	_2009
	dd	13
	dd	3
	align	4
_94:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	82,101,109,111,118,101
	align	4
_2090:
	dd	_2009
	dd	14
	dd	3
	align	4
_2098:
	dd	_2009
	dd	15
	dd	3
	align	4
_95:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	65,100,100,32,116,111,32,77,97,112
	align	4
_2112:
	dd	_2009
	dd	17
	dd	3
	align	4
_2120:
	dd	_2009
	dd	18
	dd	3
	align	4
_2123:
	dd	_2009
	dd	19
	dd	3
	align	4
_2198:
	dd	1
	dd	_152
	dd	2
	dd	_450
	dd	_173
	dd	-4
	dd	2
	dd	_526
	dd	_167
	dd	-8
	dd	0
	align	4
_2125:
	dd	_2009
	dd	26
	dd	3
	align	4
_2180:
	dd	3
	dd	0
	dd	0
	align	4
_2130:
	dd	_2009
	dd	28
	dd	5
	align	4
_2162:
	dd	3
	dd	0
	dd	2
	dd	_1113
	dd	_208
	dd	-12
	dd	2
	dd	_1114
	dd	_208
	dd	-16
	dd	0
	align	4
_2145:
	dd	_2009
	dd	32
	dd	7
	align	4
_96:
	dd	_bbStringClass
	dd	2147483647
	dd	13
	dw	66,51,100,32,70,105,108,101,115,58,98,51,100
	align	4
_2147:
	dd	_2009
	dd	33
	dd	7
	align	4
_97:
	dd	_bbStringClass
	dd	2147483647
	dd	23
	dw	83,101,108,101,99,116,32,66,51,100,32,102,105,108,101,32
	dw	116,111,32,111,112,101,110
	align	4
_2149:
	dd	_2009
	dd	34
	dd	7
	align	4
_2161:
	dd	3
	dd	0
	dd	2
	dd	_2004
	dd	_167
	dd	-20
	dd	0
	align	4
_2151:
	dd	_2009
	dd	35
	dd	8
	align	4
_2155:
	dd	_2009
	dd	36
	dd	8
	align	4
_2160:
	dd	3
	dd	0
	dd	0
	align	4
_2157:
	dd	_2009
	dd	37
	dd	9
	align	4
_2179:
	dd	3
	dd	0
	dd	0
	align	4
_2163:
	dd	_2009
	dd	42
	dd	7
	align	4
_2178:
	dd	3
	dd	0
	dd	0
	align	4
_2170:
	dd	_2009
	dd	43
	dd	8
	align	4
_2196:
	dd	3
	dd	0
	dd	0
	align	4
_2181:
	dd	_2009
	dd	51
	dd	5
	align	4
_2195:
	dd	3
	dd	0
	dd	0
	align	4
_2187:
	dd	_2009
	dd	55
	dd	7
	align	4
_2191:
	dd	3
	dd	0
	dd	0
	align	4
_2192:
	dd	_2009
	dd	60
	dd	7
	align	4
_2197:
	dd	_2009
	dd	66
	dd	3
_2297:
	db	"item",0
_2298:
	db	"doc",0
_2299:
	db	"root",0
	align	4
_2296:
	dd	1
	dd	_197
	dd	2
	dd	_450
	dd	_173
	dd	-4
	dd	2
	dd	_2297
	dd	_167
	dd	-8
	dd	2
	dd	_2298
	dd	_443
	dd	-12
	dd	2
	dd	_2299
	dd	_206
	dd	-16
	dd	0
	align	4
_2199:
	dd	_2009
	dd	71
	dd	3
	align	4
_2206:
	dd	_2009
	dd	72
	dd	3
	align	4
_2209:
	dd	3
	dd	0
	dd	0
	align	4
_2208:
	dd	_2009
	dd	72
	dd	22
	align	4
_2210:
	dd	_2009
	dd	73
	dd	3
	align	4
_2214:
	dd	_2009
	dd	74
	dd	3
_2292:
	db	"go",0
	align	4
_2291:
	dd	3
	dd	0
	dd	2
	dd	_2292
	dd	_206
	dd	-20
	dd	0
	align	4
_2218:
	dd	_2009
	dd	75
	dd	4
	align	4
_2222:
	dd	_2009
	dd	76
	dd	4
_2290:
	db	"tfile",0
	align	4
_2289:
	dd	3
	dd	0
	dd	2
	dd	_2290
	dd	_208
	dd	-24
	dd	2
	dd	_919
	dd	_920
	dd	-28
	dd	0
	align	4
_2228:
	dd	_2009
	dd	79
	dd	6
	align	4
_2234:
	dd	_2009
	dd	80
	dd	6
	align	4
_2237:
	dd	3
	dd	0
	dd	0
	align	4
_2236:
	dd	_2009
	dd	80
	dd	25
	align	4
_2238:
	dd	_2009
	dd	81
	dd	6
	align	4
_2240:
	dd	_2009
	dd	82
	dd	6
	align	4
_2248:
	dd	_2009
	dd	83
	dd	6
	align	4
_2251:
	dd	_2009
	dd	84
	dd	6
	align	4
_2263:
	dd	_2009
	dd	85
	dd	6
	align	4
_2275:
	dd	_2009
	dd	86
	dd	6
	align	4
_2283:
	dd	_2009
	dd	87
	dd	6
	align	4
_2284:
	dd	_2009
	dd	88
	dd	6
	align	4
_2295:
	dd	3
	dd	0
	dd	0
	align	4
_2294:
	dd	_2009
	dd	91
	dd	4
_2343:
	db	"dir",0
	align	4
_2342:
	dd	1
	dd	_198
	dd	2
	dd	_450
	dd	_173
	dd	-4
	dd	2
	dd	_2343
	dd	_167
	dd	-8
	dd	0
	align	4
_2300:
	dd	_2009
	dd	99
	dd	3
	align	4
_2306:
	dd	_2009
	dd	100
	dd	3
	align	4
_98:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	92,109,111,100,101,108,115
	align	4
_2308:
	dd	_2009
	dd	102
	dd	3
	align	4
_2311:
	dd	3
	dd	0
	dd	0
	align	4
_2310:
	dd	_2009
	dd	102
	dd	14
	align	4
_99:
	dd	_bbStringClass
	dd	2147483647
	dd	32
	dw	102,97,105,108,101,100,32,116,111,32,114,101,97,100,32,99
	dw	117,114,114,101,110,116,32,100,105,114,101,99,116,111,114,121
	align	4
_2312:
	dd	_2009
	dd	113
	dd	3
_2340:
	db	"t",0
	align	4
_2339:
	dd	3
	dd	0
	dd	2
	dd	_2340
	dd	_208
	dd	-12
	dd	0
	align	4
_2313:
	dd	_2009
	dd	105
	dd	4
	align	4
_2315:
	dd	_2009
	dd	106
	dd	4
	align	4
_2318:
	dd	3
	dd	0
	dd	0
	align	4
_2317:
	dd	_2009
	dd	106
	dd	12
	align	4
_2319:
	dd	_2009
	dd	107
	dd	4
	align	4
_103:
	dd	_bbStringClass
	dd	2147483647
	dd	1
	dw	46
	align	4
_104:
	dd	_bbStringClass
	dd	2147483647
	dd	2
	dw	46,46
	align	4
_2324:
	dd	3
	dd	0
	dd	0
	align	4
_2323:
	dd	_2009
	dd	107
	dd	23
	align	4
_2325:
	dd	_2009
	dd	108
	dd	4
	align	4
_105:
	dd	_bbStringClass
	dd	2147483647
	dd	3
	dw	120,109,108
	align	4
_2338:
	dd	3
	dd	0
	dd	2
	dd	_2298
	dd	_443
	dd	-16
	dd	0
	align	4
_2327:
	dd	_2009
	dd	109
	dd	5
	align	4
_2329:
	dd	_2009
	dd	110
	dd	5
	align	4
_2332:
	dd	_2009
	dd	111
	dd	5
	align	4
_2341:
	dd	_2009
	dd	115
	dd	3
	align	4
_2407:
	dd	1
	dd	_199
	dd	2
	dd	_450
	dd	_173
	dd	-4
	dd	2
	dd	_1963
	dd	_208
	dd	-8
	dd	2
	dd	_2298
	dd	_443
	dd	-12
	dd	2
	dd	_2299
	dd	_206
	dd	-16
	dd	2
	dd	_2292
	dd	_206
	dd	-20
	dd	0
	align	4
_2344:
	dd	_2009
	dd	121
	dd	3
	align	4
_2347:
	dd	3
	dd	0
	dd	0
	align	4
_2346:
	dd	_2009
	dd	121
	dd	21
	align	4
_2348:
	dd	_2009
	dd	122
	dd	3
	align	4
_2361:
	dd	3
	dd	0
	dd	2
	dd	_2004
	dd	_167
	dd	-24
	dd	0
	align	4
_2350:
	dd	_2009
	dd	123
	dd	4
	align	4
_106:
	dd	_bbStringClass
	dd	2147483647
	dd	45
	dw	97,108,114,101,97,100,121,32,101,120,105,115,116,115,32,105
	dw	110,32,119,111,114,107,105,110,103,32,100,105,114,101,99,116
	dw	111,114,121,44,32,82,101,112,108,97,99,101,63
	align	4
_2352:
	dd	_2009
	dd	124
	dd	4
	align	4
_2358:
	dd	3
	dd	0
	dd	0
	align	4
_2357:
	dd	_2009
	dd	126
	dd	6
	align	4
_2360:
	dd	3
	dd	0
	dd	0
	align	4
_2359:
	dd	_2009
	dd	128
	dd	6
	align	4
_2364:
	dd	3
	dd	0
	dd	0
	align	4
_2363:
	dd	_2009
	dd	131
	dd	4
	align	4
_2365:
	dd	_2009
	dd	133
	dd	3
	align	4
_2367:
	dd	_2009
	dd	134
	dd	3
	align	4
_2371:
	dd	_2009
	dd	135
	dd	3
	align	4
_107:
	dd	_bbStringClass
	dd	2147483647
	dd	6
	dw	67,111,110,102,105,103
	align	4
_2379:
	dd	_2009
	dd	136
	dd	3
	align	4
_108:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	71,97,109,101,79,98,106,101,99,116
	align	4
_2383:
	dd	_2009
	dd	137
	dd	3
	align	4
_2393:
	dd	_2009
	dd	138
	dd	3
	align	4
_2403:
	dd	_2009
	dd	139
	dd	3
	align	4
_109:
	dd	_bbStringClass
	dd	2147483647
	dd	4
	dw	46,120,109,108
	align	4
_2406:
	dd	_2009
	dd	140
	dd	3
	align	4
_2409:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_175
	dd	-4
	dd	0
	align	4
_2408:
	dd	3
	dd	0
	dd	0
	align	4
_2507:
	dd	1
	dd	_196
	dd	2
	dd	_450
	dd	_175
	dd	-4
	dd	2
	dd	_558
	dd	_148
	dd	-8
	dd	2
	dd	_781
	dd	_146
	dd	-12
	dd	0
_2412:
	db	"$BMXPATH/projects/GenEd3D/Includes/CGNodes.bmx",0
	align	4
_2411:
	dd	_2412
	dd	7
	dd	3
_2413:
	db	":TGadget",0
	align	4
_2415:
	dd	_2412
	dd	8
	dd	3
	align	4
_2423:
	dd	_2412
	dd	9
	dd	3
	align	4
_110:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	78,111,100,101,32,84,121,112,101,115
	align	4
_2435:
	dd	_2412
	dd	10
	dd	3
	align	4
_2441:
	dd	_2412
	dd	11
	dd	3
	align	4
_2455:
	dd	_2412
	dd	12
	dd	3
	align	4
_2463:
	dd	_2412
	dd	13
	dd	3
	align	4
_2477:
	dd	_2412
	dd	14
	dd	3
	align	4
_111:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	71,101,110,101,114,105,99,32,78,111,100,101
	align	4
_2480:
	dd	_2412
	dd	15
	dd	3
	align	4
_112:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	79,109,110,105,32,76,105,103,104,116
	align	4
_2483:
	dd	_2412
	dd	16
	dd	3
	align	4
_113:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	80,111,105,110,116,32,76,105,103,104,116
	align	4
_2486:
	dd	_2412
	dd	17
	dd	3
	align	4
_114:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	83,112,111,116,32,76,105,103,104,116
	align	4
_2489:
	dd	_2412
	dd	18
	dd	3
	align	4
_115:
	dd	_bbStringClass
	dd	2147483647
	dd	10
	dw	83,111,117,110,100,32,78,111,100,101
	align	4
_2492:
	dd	_2412
	dd	19
	dd	3
	align	4
_116:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	67,97,109,101,114,97,32,78,111,100,101
	align	4
_2495:
	dd	_2412
	dd	20
	dd	3
	align	4
_2498:
	dd	_2412
	dd	22
	dd	3
	align	4
_2506:
	dd	_2412
	dd	25
	dd	3
	align	4
_2557:
	dd	1
	dd	_152
	dd	2
	dd	_450
	dd	_175
	dd	-4
	dd	2
	dd	_526
	dd	_167
	dd	-8
	dd	0
	align	4
_2508:
	dd	_2412
	dd	30
	dd	3
	align	4
_2539:
	dd	3
	dd	0
	dd	0
	align	4
_2513:
	dd	_2412
	dd	32
	dd	5
	align	4
_2538:
	dd	3
	dd	0
	dd	0
	align	4
_2522:
	dd	_2412
	dd	35
	dd	7
	align	4
_2537:
	dd	3
	dd	0
	dd	0
	align	4
_2529:
	dd	_2412
	dd	36
	dd	8
	align	4
_2555:
	dd	3
	dd	0
	dd	0
	align	4
_2540:
	dd	_2412
	dd	41
	dd	5
	align	4
_2554:
	dd	3
	dd	0
	dd	0
	align	4
_2546:
	dd	_2412
	dd	45
	dd	7
	align	4
_2550:
	dd	3
	dd	0
	dd	0
	align	4
_2551:
	dd	_2412
	dd	50
	dd	7
	align	4
_2556:
	dd	_2412
	dd	56
	dd	3
_2770:
	db	"m",0
_2771:
	db	"moNode",0
	align	4
_2769:
	dd	1
	dd	_197
	dd	2
	dd	_450
	dd	_175
	dd	-4
	dd	2
	dd	_2297
	dd	_167
	dd	-8
	dd	2
	dd	_2770
	dd	_920
	dd	-12
	dd	2
	dd	_2771
	dd	_206
	dd	-16
	dd	0
	align	4
_2558:
	dd	_2412
	dd	60
	dd	3
	align	4
_2560:
	dd	_2412
	dd	61
	dd	3
	align	4
_2566:
	dd	_2412
	dd	62
	dd	3
	align	4
_2574:
	dd	_2412
	dd	63
	dd	3
	align	4
_2575:
	dd	_2412
	dd	64
	dd	3
	align	4
_2610:
	dd	3
	dd	0
	dd	0
	align	4
_2584:
	dd	_2412
	dd	67
	dd	5
	align	4
_2592:
	dd	_2412
	dd	68
	dd	5
	align	4
_2602:
	dd	_2412
	dd	69
	dd	5
	align	4
_117:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	71,101,110,101,114,97,108,32
	align	4
_2637:
	dd	3
	dd	0
	dd	0
	align	4
_2611:
	dd	_2412
	dd	72
	dd	5
	align	4
_2619:
	dd	_2412
	dd	73
	dd	5
	align	4
_2629:
	dd	_2412
	dd	74
	dd	5
	align	4
_118:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	79,109,110,105,32,76,105,103,104,116,32
	align	4
_2664:
	dd	3
	dd	0
	dd	0
	align	4
_2638:
	dd	_2412
	dd	76
	dd	5
	align	4
_2646:
	dd	_2412
	dd	77
	dd	5
	align	4
_2656:
	dd	_2412
	dd	78
	dd	5
	align	4
_119:
	dd	_bbStringClass
	dd	2147483647
	dd	12
	dw	80,111,105,110,116,32,76,105,103,104,116,32
	align	4
_2691:
	dd	3
	dd	0
	dd	0
	align	4
_2665:
	dd	_2412
	dd	80
	dd	5
	align	4
_2673:
	dd	_2412
	dd	81
	dd	5
	align	4
_2683:
	dd	_2412
	dd	82
	dd	5
	align	4
_120:
	dd	_bbStringClass
	dd	2147483647
	dd	11
	dw	83,112,111,116,32,76,105,103,104,116,32
	align	4
_2718:
	dd	3
	dd	0
	dd	0
	align	4
_2692:
	dd	_2412
	dd	84
	dd	5
	align	4
_2700:
	dd	_2412
	dd	85
	dd	5
	align	4
_2710:
	dd	_2412
	dd	86
	dd	5
	align	4
_121:
	dd	_bbStringClass
	dd	2147483647
	dd	9
	dw	51,100,32,83,111,117,110,100,32
	align	4
_2751:
	dd	3
	dd	0
	dd	0
	align	4
_2719:
	dd	_2412
	dd	88
	dd	5
	align	4
_2727:
	dd	_2412
	dd	89
	dd	5
	align	4
_2730:
	dd	_2412
	dd	90
	dd	5
	align	4
_2733:
	dd	_2412
	dd	91
	dd	5
	align	4
_2743:
	dd	_2412
	dd	92
	dd	5
	align	4
_122:
	dd	_bbStringClass
	dd	2147483647
	dd	7
	dw	67,97,109,101,114,97,32
	align	4
_2752:
	dd	_2412
	dd	95
	dd	3
	align	4
_2764:
	dd	_2412
	dd	96
	dd	3
	align	4
_2776:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_920
	dd	-4
	dd	0
	align	4
_2775:
	dd	3
	dd	0
	dd	0
	align	4
_2785:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_177
	dd	-4
	dd	0
	align	4
_2784:
	dd	3
	dd	0
	dd	0
	align	4
_2819:
	dd	1
	dd	_196
	dd	2
	dd	_450
	dd	_177
	dd	-4
	dd	2
	dd	_558
	dd	_148
	dd	-8
	dd	2
	dd	_781
	dd	_146
	dd	-12
	dd	0
_2788:
	db	"$BMXPATH/projects/GenEd3D/Includes/MapProps.bmx",0
	align	4
_2787:
	dd	_2788
	dd	7
	dd	3
_2789:
	db	":TGadget",0
	align	4
_2791:
	dd	_2788
	dd	8
	dd	3
	align	4
_2799:
	dd	_2788
	dd	9
	dd	3
	align	4
_123:
	dd	_bbStringClass
	dd	2147483647
	dd	8
	dw	77,97,112,32,78,97,109,101
	align	4
_2811:
	dd	_2788
	dd	11
	dd	3
_2826:
	db	":Gizmo",0
	align	4
_2825:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_2826
	dd	-4
	dd	0
	align	4
_2824:
	dd	3
	dd	0
	dd	0
	align	4
_2836:
	dd	1
	dd	_218
	dd	2
	dd	_450
	dd	_2826
	dd	-4
	dd	0
	align	4
_2837:
	dd	1
	dd	_152
	dd	2
	dd	_450
	dd	_2826
	dd	-4
	dd	0
	align	4
_2839:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_186
	dd	-4
	dd	0
	align	4
_2838:
	dd	3
	dd	0
	dd	0
_2973:
	db	"gtex",0
	align	4
_2972:
	dd	1
	dd	_218
	dd	2
	dd	_450
	dd	_186
	dd	-4
	dd	2
	dd	_2973
	dd	_161
	dd	-8
	dd	0
_2842:
	db	"$BMXPATH/projects/GenEd3D/Includes/Gizmo.bmx",0
	align	4
_2841:
	dd	_2842
	dd	23
	dd	3
	align	4
_2850:
	dd	_2842
	dd	24
	dd	3
	align	4
_2853:
	dd	_2842
	dd	25
	dd	3
	align	4
_2856:
	dd	_2842
	dd	26
	dd	3
	align	4
_2859:
	dd	_2842
	dd	27
	dd	3
	align	4
_124:
	dd	_bbStringClass
	dd	2147483647
	dd	18
	dw	101,100,105,116,111,114,101,115,47,103,105,122,109,111,46,112
	dw	110,103
	align	4
_2861:
	dd	_2842
	dd	29
	dd	3
	align	4
_2869:
	dd	_2842
	dd	30
	dd	3
	align	4
_2872:
	dd	_2842
	dd	31
	dd	3
	align	4
_2875:
	dd	_2842
	dd	32
	dd	3
	align	4
_2878:
	dd	_2842
	dd	33
	dd	3
	align	4
_2881:
	dd	_2842
	dd	34
	dd	3
	align	4
_2884:
	dd	_2842
	dd	35
	dd	3
	align	4
_2889:
	dd	_2842
	dd	37
	dd	3
	align	4
_2897:
	dd	_2842
	dd	38
	dd	3
	align	4
_2900:
	dd	_2842
	dd	39
	dd	3
	align	4
_2903:
	dd	_2842
	dd	40
	dd	3
	align	4
_2906:
	dd	_2842
	dd	41
	dd	3
	align	4
_2909:
	dd	_2842
	dd	42
	dd	3
	align	4
_2912:
	dd	_2842
	dd	43
	dd	3
	align	4
_2915:
	dd	_2842
	dd	44
	dd	3
	align	4
_2920:
	dd	_2842
	dd	46
	dd	3
	align	4
_2928:
	dd	_2842
	dd	47
	dd	3
	align	4
_2931:
	dd	_2842
	dd	48
	dd	3
	align	4
_2934:
	dd	_2842
	dd	49
	dd	3
	align	4
_2937:
	dd	_2842
	dd	50
	dd	3
	align	4
_2940:
	dd	_2842
	dd	51
	dd	3
	align	4
_2943:
	dd	_2842
	dd	52
	dd	3
	align	4
_2946:
	dd	_2842
	dd	53
	dd	3
	align	4
_2951:
	dd	_2842
	dd	55
	dd	3
	align	4
_2954:
	dd	_2842
	dd	56
	dd	3
	align	4
_2957:
	dd	_2842
	dd	57
	dd	3
	align	4
_2960:
	dd	_2842
	dd	58
	dd	3
	align	4
_2963:
	dd	_2842
	dd	60
	dd	3
	align	4
_2966:
	dd	_2842
	dd	61
	dd	3
	align	4
_2969:
	dd	_2842
	dd	62
	dd	3
	align	4
_2975:
	dd	1
	dd	_133
	dd	2
	dd	_450
	dd	_184
	dd	-4
	dd	0
	align	4
_2974:
	dd	3
	dd	0
	dd	0
	align	4
_3090:
	dd	1
	dd	_218
	dd	2
	dd	_450
	dd	_184
	dd	-4
	dd	0
	align	4
_2977:
	dd	_2842
	dd	77
	dd	3
	align	4
_2985:
	dd	_2842
	dd	78
	dd	3
	align	4
_2988:
	dd	_2842
	dd	79
	dd	3
	align	4
_2991:
	dd	_2842
	dd	80
	dd	3
	align	4
_2994:
	dd	_2842
	dd	81
	dd	3
	align	4
_3002:
	dd	_2842
	dd	82
	dd	3
	align	4
_3005:
	dd	_2842
	dd	83
	dd	3
	align	4
_3008:
	dd	_2842
	dd	87
	dd	3
	align	4
_3011:
	dd	_2842
	dd	88
	dd	3
	align	4
_3014:
	dd	_2842
	dd	89
	dd	3
	align	4
_3019:
	dd	_2842
	dd	91
	dd	3
	align	4
_3027:
	dd	_2842
	dd	92
	dd	3
	align	4
_3030:
	dd	_2842
	dd	93
	dd	3
	align	4
_3033:
	dd	_2842
	dd	96
	dd	3
	align	4
_3036:
	dd	_2842
	dd	97
	dd	3
	align	4
_3039:
	dd	_2842
	dd	98
	dd	3
	align	4
_3044:
	dd	_2842
	dd	100
	dd	3
	align	4
_3052:
	dd	_2842
	dd	101
	dd	3
	align	4
_3055:
	dd	_2842
	dd	102
	dd	3
	align	4
_3058:
	dd	_2842
	dd	105
	dd	3
	align	4
_3061:
	dd	_2842
	dd	106
	dd	3
	align	4
_3064:
	dd	_2842
	dd	107
	dd	3
	align	4
_3069:
	dd	_2842
	dd	109
	dd	3
	align	4
_3072:
	dd	_2842
	dd	110
	dd	3
	align	4
_3075:
	dd	_2842
	dd	111
	dd	3
	align	4
_3078:
	dd	_2842
	dd	112
	dd	3
	align	4
_3081:
	dd	_2842
	dd	114
	dd	3
	align	4
_3084:
	dd	_2842
	dd	115
	dd	3
	align	4
_3087:
	dd	_2842
	dd	116
	dd	3
	align	4
_3092:
	dd	1
	dd	_152
	dd	2
	dd	_450
	dd	_184
	dd	-4
	dd	0
	align	4
_3091:
	dd	_2842
	dd	122
	dd	3
